Sunan Abi Dawud, Book 40, Hadith 141 (Abu Dawud 4493)

Abu Burdah reported the Messenger of Allah (ﷺ) as saying:

No more than ten lashes are to be given, except in the case of one of the punishment prescribed by Allah, the Exalted.