"76.1 Chapter 8—Before the Sanhedrin This chapter is based on Acts 5:12-42 . It was the cross, that instrument of shame and torture, which brought hope and salvation to the world. The disciples were but humble men, without wealth, and with no weapon but the word of God; yet in Christ's strength they went forth to tell the wonderful story of the manger and the cross, and to triumph over all opposition. Without earthly honor or recognition, they were heroes of faith. From their lips came words of divine eloquence that shook the world. AA 77"
"And by the hands of the apostles were many signs and wonders wrought among the people; (and they were all with one accord in Solomon’s porch. And of the rest durst no man join himself to them: but the people magnified them. And believers were the more added to the Lord, multitudes both of men and women.) Insomuch that they brought forth the sick into the streets, and laid them on beds and couches, that at the least the shadow of Peter passing by might overshadow some of them. There came also a multitude out of the cities round about unto Jerusalem, bringing sick folks, and them which were vexed with unclean spirits: and they were healed every one. Then the high priest rose up, and all they that were with him, (which is the sect of the Sadducees,) and were filled with indignation, And laid their hands on the apostles, and put them in the common prison. But the angel of the Lord by night opened the prison doors, and brought them forth, and said, Go, stand and speak in the temple to the people all the words of this life. And when they heard that, they entered into the temple early in the morning, and taught. But the high priest came, and they that were with him, and called the council together, and all the senate of the children of Israel, and sent to the prison to have them brought. But when the officers came, and found them not in the prison, they returned, and told, Saying, The prison truly found we shut with all safety, and the keepers standing without before the doors: but when we had opened, we found no man within. Now when the high priest and the captain of the temple and the chief priests heard these things, they doubted of them whereunto this would grow. Then came one and told them, saying, Behold, the men whom ye put in prison are standing in the temple, and teaching the people. Then went the captain with the officers, and brought them without violence: for they feared the people, lest they should have been stoned. And when they had brought them, they set them before the council: and the high priest asked them, Saying, Did not we straitly command you that ye should not teach in this name? and, behold, ye have filled Jerusalem with your doctrine, and intend to bring this man’s blood upon us. Then Peter and the other apostles answered and said, We ought to obey God rather than men. The God of our fathers raised up Jesus, whom ye slew and hanged on a tree. Him hath God exalted with his right hand to be a Prince and a Saviour, for to give repentance to Israel, and forgiveness of sins."
Ellen White directly references Acts 5:12-42 in this passage.
"In Jerusalem, where the deepest prejudice existed, and where the most confused ideas prevailed in regard to Him who had been crucified as a malefactor, the disciples continued to speak with boldness the words of life, setting before the Jews the work and mission of Christ, His crucifixion, resurrection, and ascension. Priests and rulers heard with amazement the clear, bold testimony of the apostles. The power of the risen Saviour had indeed fallen on the disciples, and their work was accompanied by signs and miracles that daily increased the number of believers. Along the streets where the disciples were to pass, the people laid their sick “on beds and couches, that at the least the shadow of Peter passing by might overshadow some of them.” Here also were brought those vexed with unclean spirits. The crowds gathered round them, and those who were healed shouted the praises of God and glorified the name of the Redeemer. AA 77.2"
"Saying, Did not we straitly command you that ye should not teach in this name? and, behold, ye have filled Jerusalem with your doctrine, and intend to bring this man’s blood upon us."
Both passages describe the apostles' activities in Jerusalem despite opposition. The EGW passage elaborates on the healing miracles and public reaction, while the verse focuses on the authorities' accusations. The connection is thematic, but not a direct allusion.