Deuteronomy 25:2
New International Reader's Version Bible (NIRV)The guilty one might have done something that’s worthy of a beating. Then the judge will make them lie down and be beaten with a whip right there in court. The number of strokes should fit the crime.