Acts 16:25–40 records Paul’s first imprisonment. The Philippian magistrates arrested Paul and Silas and had them beaten for spreading the news about Jesus. The two are now chained in a cell, praying and singing to God. An earthquake shakes the prison, releasing all the doors and chains. Paul assures the jailer no one has left, and the jailer tends to the pair’s wounds. They share Jesus’ offer of forgiveness of sins, and the jailer and his household accept Christ. In the morning, the magistrates attempt to release Paul and Silas, only to be confronted with their own crime: they have illegally punished two Roman citizens. After apologizing, the magistrates ask Paul and Silas to leave town.
For a more detailed summary select the link below.
“Acts 16:30-31 ” Bibleref.com
30 brought them out, and said, “Sirs, what must I do to be saved?” 31 They said, “Believe in the Lord Jesus Christ, and you will be saved, you and your household.”