Deuteronomy 25:2

MSB(i) 2 If the guilty man deserves to be beaten, the judge shall have him lie down and be flogged in his presence with the number of lashes his crime warrants.