Acts 16:22-35 NLT

22 A mob quickly formed against Paul and Silas, and the city officials ordered them stripped and beaten with wooden rods.
23 They were severely beaten, and then they were thrown into prison. The jailer was ordered to make sure they didn't escape.
24 So he took no chances but put them into the inner dungeon and clamped their feet in the stocks.
25 Around midnight, Paul and Silas were praying and singing hymns to God, and the other prisoners were listening.
26 Suddenly, there was a great earthquake, and the prison was shaken to its foundations. All the doors flew open, and the chains of every prisoner fell off!
27 The jailer woke up to see the prison doors wide open. He assumed the prisoners had escaped, so he drew his sword to kill himself.
28 But Paul shouted to him, "Don't do it! We are all here!"
29 Trembling with fear, the jailer called for lights and ran to the dungeon and fell down before Paul and Silas.
30 He brought them out and asked, "Sirs, what must I do to be saved?"
31 They replied, "Believe on the Lord Jesus and you will be saved, along with your entire household."
32 Then they shared the word of the Lord with him and all who lived in his household.
33 That same hour the jailer washed their wounds, and he and everyone in his household were immediately baptized.
34 Then he brought them into his house and set a meal before them. He and his entire household rejoiced because they all believed in God.
35 The next morning the city officials sent the police to tell the jailer, "Let those men go!"