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)." (ID)
English reference (ID): Vol. 3, Book 20, Hadith 2601 (ID)
Arabic reference (ID): Book 20, Hadith 2699 (ID)