Acts 16:22-26
22And the multitude rose up together against them: and the magistrates rent off their clothes, and commanded to beat them.
23And when they had laid many stripes upon them, they cast them into prison, charging the jailor to keep them safely:
24Who, having received such a charge, thrust them into the inner prison, and made their feet fast in the stocks.
25And at midnight Paul and Silas prayed, and sang praises unto God: and the prisoners heard them.
26And suddenly there was a great earthquake, so that the foundations of the prison were shaken: and immediately all the doors were opened, and every one's bands were loosed.
(KJV)