Deuteronomy 25:2 NIV

2 If the guilty person deserves to be beaten, the judge shall make them lie down and have them flogged in his presence with the number of lashes the crime deserves,

References for Deuteronomy 25:2