Jami` at-Tirmidhi, Book 17, Hadith 47 (Tirmidhi 1485)

Narrated Abu Burdah bun Niyar:

That the Messenger of Allah (ﷺ) said: "No one is to be lashed more than ten lashes except for a legal punishment among Allah's punishments."