Deuteronomy 25:2 NCV

2 If the guilty person has to be punished with a beating, the judge will make that person lie down and be beaten in front of him. The number of lashes should match the crime.