I heard the Prophet ﷺ saying, "Do not flog anyone more than ten stripes except if he is involved in a crime necessitating Allah's legal Punishment."
سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ لاَ تَجْلِدُوا فَوْقَ عَشْرَةِ أَسْوَاطٍ إِلاَّ فِي حَدٍّ مِنْ حُدُودِ اللَّهِ