Deuteronomy 25:3
25:3
The judge may sentence him to forty blows, but no more. If he is struck with more than these, you might view your fellow Israelite with contempt.