Acts 16:22-25 ESV
The crowd joined in attacking them, and the magistrates tore the garments off them and gave orders to beat them with rods. And when they had inflicted many blows upon them, they threw them into prison, ordering the jailer to keep them safely. Having received this order, he put them into the inner prison and fastened their feet in the stocks.
About midnight Paul and Silas were praying and singing hymns to God, and the prisoners were listening to them
ESV: English Standard Version 2016