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.