Rules concerning flogging as a punishment

“If there is a dispute between men, and they come to court, that the judges may judge them, and they justify the righteous and condemn the wicked, then it shall be, if the wicked man deserves to be beaten, that the judge will cause him to lie down and be beaten in his presence, according to his guilt, with a certain number of blows. Forty blows he may give him and no more, lest he should exceed this and beat him with many blows above these, and your brother be humiliated in your sight.

Deuteronomy 25:1-3 (NKJV)

Comment:

This is amber because flogging is not part of our justice system in our society and green because the principal of in-excessive sentencing still stands.