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. 27And the keeper of the prison awaking out of his sleep, and seeing the prison doors open, he drew out his sword, and would have killed himself, supposing that the prisoners had been fled. 28But Paul cried with a loud voice, saying, Do thyself no harm: for we are all here.