Deuteronomy 25:3

New Living Translation Bible (NLT)
But never give more than forty lashes; more than forty lashes would publicly humiliate your neighbor.

Read Deuteronomy 25:3 in other translations