Paul and Silas have cast a spirit of divination out of a slave girl in Philippi, enraging her owners, who lose the income she generated for them through fortune telling. A mob forms, the magistrates order Paul and Silas stripped and beaten with rods, and they are thrown into the innermost cell of the prison, their feet fastened in stocks for extra security.

At midnight, still in that cell, they are praying and singing hymns to God, loudly enough that the other prisoners are listening.

Their Circumstances Had Not Improved Before They Started Singing

“About midnight Paul and Silas were praying and singing hymns to God, and the other prisoners were listening to them.” No earthquake has happened yet. No release has come. The singing begins while they are still beaten, still chained, still in the worst part of the prison, not as a response to relief but in the middle of the actual suffering.

The Other Prisoners Were Listening, Not Just Tolerating It

Luke specifically notes that the other prisoners were listening, a detail that suggests this was not background noise easily ignored. Two beaten men singing at midnight in a Roman prison was unusual enough to hold the attention of everyone else locked in that building with them.

When the Doors Opened, They Did Not Run

“Suddenly there was such a violent earthquake that the foundations of the prison were shaken. At once all the prison doors flew open, and everyone’s chains came loose.” Given a clear and immediate opportunity to escape, Paul and Silas stay exactly where they are, a decision that ends up saving the jailer’s life, since he assumes the prisoners have fled and is about to kill himself.

The Jailer’s Question Came After He Watched Them Refuse to Leave

“He called for lights, rushed in and fell trembling before Paul and Silas. He then brought them out and asked, ‘Sirs, what must I do to be saved?'” The jailer’s question is not prompted by the earthquake alone. It follows directly from watching two men choose to stay in a cell they could have walked out of, a response that convinces him of something the miracle by itself might not have.

“About midnight Paul and Silas were praying and singing hymns to God, and the other prisoners were listening to them.”
Acts 16:25

They sang before the earthquake, not after it. And when the doors finally opened, staying put said more than the singing had.