Acts 16:16-25 KJV
And it came to pass, as we went to prayer, a certain damsel possessed with a spirit of divination met us, which brought her masters much gain by soothsaying: The same followed Paul and us, and cried, saying, These men are the servants of the most high God, which shew unto us the way of salvation. And this did she many days. But Paul, being grieved, turned and said to the spirit, I command thee in the name of Jesus Christ to come out of her. And he came out the same hour.
And when her masters saw that the hope of their gains was gone, they caught Paul and Silas, and drew them into the marketplace unto the rulers, and brought them to the magistrates, saying, These men, being Jews, do exceedingly trouble our city, and teach customs, which are not lawful for us to receive, neither to observe, being Romans. And the multitude rose up together against them: and the magistrates rent off their clothes, and commanded to beat them. And when they had laid many stripes upon them, they cast them into prison, charging the jailor to keep them safely: who, having received such a charge, thrust them into the inner prison, and made their feet fast in the stocks.
And at midnight Paul and Silas prayed, and sang praises unto God: and the prisoners heard them.