Deuteronomy 25:2 NLT

2 If the person in the wrong is sentenced to be flogged, the judge will command him to lie down and be beaten in his presence with the number of lashes appropriate to the crime.