Sahih al-Bukhari 6848
Sahih al-Bukhari · Book 86: Limits and Punishments set by Allah (Hudood) · What punishment may be inflicted on the person so that they may not commit the same sin again, or so that they may learn good manners
Narrated Abu Burda:
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ ، حَدَّثَنَا اللَّيْثُ ، حَدَّثَنِي يَزِيدُ بْنُ أَبِي حَبِيبٍ ، عَنْ بُكَيْرِ بْنِ عَبْدِ اللَّهِ ، عَنْ سُلَيْمَانَ بْنِ يَسَارٍ ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ جَابِرِ بْنِ عَبْدِ اللَّهِ ، عَنْ أَبِي بُرْدَةَ ـ رضى الله عنه ـ قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم يَقُولُ " لاَ يُجْلَدُ فَوْقَ عَشْرِ جَلَدَاتٍ إِلاَّ فِي حَدٍّ مِنْ حُدُودِ اللَّهِ " .
The Prophet (ﷺ) used to say, "Nobody should be flogged more than ten stripes except if he is guilty of a crime, the legal punishment of which is assigned by Allah."