It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
“Do not punish with more than ten whips.”