Acts 5:17-42
But the high priest rose up, and all who were with him (that is, the party of the Sadducees), and filled with jealousy 18 they arrested the apostles and put them in the public prison. 19 But during the night an angel of the Lord opened the prison doors and brought them out, and said, 20 “Go and stand in the temple and speak to the people all the words of this Life.” 21 And when they heard this, they entered the temple at daybreak and began to teach.
Now
when the high priest came, and those who were with him, they called
together the council, all the senate of the people of Israel, and sent
to the prison to have them brought. 22 But when the officers came, they did not find them in the prison, so they returned and reported, 23 “We found the prison securely locked and the guards standing at the doors, but when we opened them we found no one inside.” 24 Now when the
captain of the temple and the chief priests heard these words, they
were greatly perplexed about them, wondering what this would come to. 25 And someone came and told them, “Look! The men whom you put in prison are standing in the temple and teaching the people.” 26 Then the captain with the officers went and brought them, but not by force, for they were afraid of being stoned by the people.
27 And when they had brought them, they set them before the council. And the high priest questioned them, 28 saying, “We strictly charged you not to teach in this name, yet here you have filled Jerusalem with your teaching, and you intend to bring this man's blood upon us.” 29 But Peter and the apostles answered, “We must obey God rather than men. 30 The God of our fathers raised Jesus, whom you killed by hanging him on a tree. 31 God exalted him at his right hand as Leader and Savior, to give repentance to Israel and forgiveness of sins. 32 And we are witnesses to these things, and so is the Holy Spirit, whom God has given to those who obey him.”
33 When they heard this, they were enraged and wanted to kill them. 34 But a Pharisee in the council named Gamaliel, a teacher of the law held in honor by all the people, stood up and gave orders to put the men outside for a little while. 35 And he said to them, “Men of Israel, take care what you are about to do with these men. 36 For before these days Theudas rose up, claiming
to be somebody, and a number of men, about four hundred, joined him. He
was killed, and all who followed him were dispersed and came to
nothing. 37 After him Judas the Galilean rose up in the days of the census and drew away some of the people after him. He too perished, and all who followed him were scattered. 38 So in the present case I tell you, keep away from these men and let them alone, for if this plan or this undertaking is of man, it will fail; 39 but if it is of God, you will not be able to overthrow them. You might even be found opposing God!” So they took his advice, 40 and when they had called in the apostles, they beat them and charged them not to speak in the name of Jesus, and let them go. 41 Then they left the presence of the council, rejoicing that they were counted worthy to suffer dishonor for the name. 42 And every day, in the temple and from house to house, they did not cease teaching and preaching that the Christ is Jesus.
The problem that the high priest and Saducees have with the early church is theological, but the reason for their severe reaction and desperation to stop this message is jealousy. The gospel was transforming people, it was causing a stir. The religious leaders were no longer in control and they wanted that back.
The miracle of the release from prison is to show that nothing can stop the gosepl spreading. It is not primarily for the apostles benefit, but to show the leaders and the people that God's message can not be locked up - he can simply open the doors back up again. The apostles understood this as they went straight back to preaching, not into hiding.
Peter's short speech contains many familiar ideas from his previous sermons - they will obey God rather than man. Jesus is the promised Messiah. They were responsible for Jesus' death. God has raised Him from the dead. Jesus is in control. They should repent. Jesus died for the forgiveness of sins. The disciples are witnesses, empowered by the Holy Spirit.
Gamaliel says that they should leave the men alone - if their message is man made, it will soon fade from peole's attention. If it is from God, they can't stop it anyway. History has proved him right. Nothing and noone can stop it.
The apostles were beaten and told no to teach about Jesus. So what did they do? They rejoiced that their suffering was in the name of Jesus and did not cease to teach and preach in Jesus name! One thing mattered to them - the good news about who Jesus is and what he has done. If their suffering draws attention to that, then praise God. And whether they were suffering or not, their life mission was to spread that news.