Abu Barda Ansari reported Allah's Messenger (ﷺ) as saying
None should be given more than ten lashes, but in case of any Hadd out of the Huded of Allah.