Deuteronomy 25:2 CSB

2 If the guilty party deserves to be flogged, the judge will make him lie down and be flogged in his presence with the number [of lashes] appropriate for his crime.