No more than ten lashes are to be given, except in the case of one of the punishment prescribed by Allah, the Exalted. (Using translation from Abū Dāʾūd 4491)
أَنَّ رَسُولَ اللهِ ﷺ كَانَ يَقُولُ لَا يُجْلَدُ فَوْقَ عَشْرِ جَلَدَاتٍ إِلَّا فِي حَدٍّ مِنْ حُدُودِ اللهِ ﷻ