Deuteronomy 25:3

King James Version Bible (KJV)
Forty stripes he may give him, and not exceed: lest, if he should exceed, and beat him above these with many stripes, then thy brother should seem vile unto thee.

Read Deuteronomy 25:3 in other translations