Deuteronomy 25:2

But if they see that the one who has sinned is worthy of stripes, they shall prostrate him and cause him to be beaten before them. According to the measure of the sin, so shall the measure of the stripes be

Other versions

King James Version

And it shall be, if the wicked man be worthy to be beaten, that the judge shall cause him to lie down, and to be beaten before his face, according to his fault, by a certain number.

English Standard Version

then if the guilty man deserves to be beaten, the judge shall cause him to lie down and be beaten in his presence with a number of stripes in proportion to his offense.

New International Version

If the guilty man deserves to be beaten, the judge shall make him lie down and have him flogged in his presence with the number of lashes his crime deserves,