16It happened, as we were going to prayer, that a certain girl having a spirit of divination met us, who brought her masters much gain by fortune telling. 17Following Paul and us, she cried out, "These men are servants of the Most High God, who proclaim to us a way of salvation!" 18She was doing this for many days. But Paul, becoming greatly annoyed, turned and said to the spirit, "I command you in the name of Jesus Christ to come out of her!" It came out that very hour.
19But when her masters saw that the hope of their gain was gone, they seized Paul and Silas, and dragged them into the marketplace before the rulers. 20When they had brought them to the magistrates, they said, "These men, being Jews, are agitating our city, 21and set forth customs which it is not lawful for us to accept or to observe, being Romans."
22The multitude rose up together against them, and the magistrates tore their clothes off of them, and commanded them to be beaten with rods. 23When they had laid many stripes on them, they threw them into prison, charging the jailer to keep them safely, 24who, having received such a command, threw them into the inner prison, and secured their feet in the stocks.
25But about midnight Paul and Silas were praying and singing hymns to God, and the prisoners were listening to them. 26Suddenly there was a great earthquake, so that the foundations of the prison were shaken; and immediately all the doors were opened, and everyone's bonds were loosened. 27The jailer, being roused out of sleep and seeing the prison doors open, drew his sword and was about to kill himself, supposing that the prisoners had escaped. 28But Paul cried with a loud voice, saying, "Don't harm yourself, for we are all here!" 29He called for lights and sprang in, and, fell down trembling before Paul and Silas, 30and brought them out and said, "Sirs, what must I do to be saved?"
31They said, "Believe in the Lord Jesus Christ, and you will be saved, you and your household." 32They spoke the word of the Lord to him, and to all who were in his house. 33He took them the same hour of the night, and washed their stripes, and was immediately baptized, he and all his household. 34He brought them up into his house, and set food before them, and rejoiced greatly, with all his household, having believed in God.
35But when it was day, the magistrates sent the sergeants, saying, "Let those men go." 36The jailer reported these words to Paul, saying, "The magistrates have sent to let you go; now therefore come out, and go in peace." 37But Paul said to them, "They have beaten us publicly, without a trial, men who are Romans, and have cast us into prison! Do they now release us secretly? No, most certainly, but let them come themselves and bring us out!" 38The sergeants reported these words to the magistrates, and they were afraid when they heard that they were Romans, 39and they came and begged them. When they had brought them out, they asked them to depart from the city. 40They went out of the prison, and entered into Lydia's house. When they had seen the brothers, they encouraged them, and departed.