Acts 22:24-25
22:24 the commanding officer ordered Paul to be brought back into the barracks. He told them to interrogate Paul by beating him with a lash so that he could find out the reason the crowd was shouting at Paul in this way.
22:25 When they had stretched him out for the lash, Paul said to the centurion standing nearby, “Is it legal for you to lash a man who is a Roman citizen without a proper trial?”
Acts 22:29
22:29 Then those who were about to interrogate him stayed away from him, and the commanding officer was frightened when he realized that Paul was a Roman citizen and that he had had him tied up.