In this section of Acts, Paul and Silas are arrested, beaten, and imprisoned for delivering the slave-girl from her demonic possession, and they (Paul and Silas) have a conversation with the Philippian jailer.

Here is a link to David Guzik's commentary on Acts 16:19-40: https://enduringword.com/bible-commentary/acts-16/