The book of Acts chapter 4 and verses 23 through 31 gives us a description of how the believers responded to persecution. The Jewish authorities thought that the crucifixion of Jesus had ended this new movement founded by the Jewish rabbi. To their surprise, the followers of Jesus began to preach that Jesus was the Christ and that He was resurrected. Their message to the people was that this same Jesus is in heaven at God’s right hand and He offers salvation to those who repent and believe their message.
The authorities threatened Peter and John with imprisonment if they continued preaching about Jesus. The apostles told them flatly that they had their orders from Jesus and He was the one they would obey. On release from detention, the two apostles went back to the body of believers and told them what the authorities had said. The response was not to retreat but to pray. They raised their voices together in prayer. Verse24 Apparently they said the same words together. Verses 24-30 tell us the words they prayed. The result was that the house where they were meeting shook, they were all filled with the Holy Spirit, and they spoke the word of God boldly. (verse 31) God answered their prayer immediately.
Two basic lessons learned from these believers are 1) When we face opposition we should pray and 2) All believers should be involved cooperatively in the spread of the gospel.