Deuteronomy 25:2 CEB

2 If the guilty party is to be beaten, the presiding judge will have that person lie down and be punished in his presence—the number of blows in measure with the guilt determined.