It was narrated from Abu Burdah bin Niyar that the Messenger of Allah (ﷺ) used to say:
"No one should be given more than ten lashes, except in the case of one of the legal punishments of Allah (SWT)." (PT)
English reference (PT): Vol. 3, Book 20, Hadith 2601 (PT)
Arabic reference (PT): Book 20, Hadith 2699 (PT)