Sunan Ibn Majah, Book 20, Hadith 69 (Ibn Majah 2603)

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).”