Language:
كتاب الحدود
86  
Limits and Punishments set by Allah (Hudood)
(4)
Chapter: Beating with stalks of date-palm leaves and shoes.
(4)
باب الضَّرْبِ بِالْجَرِيدِ وَالنِّعَالِ
Sahih al-Bukhari 6777

Narrated Abu Salama:

Abu Huraira said, "A man who drank wine was brought to the Prophet. The Prophet (ﷺ) said, 'Beat him!" Abu Huraira added, "So some of us beat him with our hands, and some with their shoes, and some with their garments (by twisting it) like a lash, and then when we finished, someone said to him, 'May Allah disgrace you!' On that the Prophet (ﷺ) said, 'Do not say so, for you are helping Satan to overpower him.' "

حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا أَبُو ضَمْرَةَ، أَنَسٌ عَنْ يَزِيدَ بْنِ الْهَادِ، عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أُتِيَ النَّبِيُّ صلى الله عليه وسلم بِرَجُلٍ قَدْ شَرِبَ قَالَ ‏"‏ اضْرِبُوهُ ‏"‏‏.‏ قَالَ أَبُو هُرَيْرَةَ فَمِنَّا الضَّارِبُ بِيَدِهِ، وَالضَّارِبُ بِنَعْلِهِ، وَالضَّارِبُ بِثَوْبِهِ، فَلَمَّا انْصَرَفَ قَالَ بَعْضُ الْقَوْمِ أَخْزَاكَ اللَّهُ‏.‏ قَالَ ‏"‏ لاَ تَقُولُوا هَكَذَا لاَ تُعِينُوا عَلَيْهِ الشَّيْطَانَ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6777
In-book reference : Book 86, Hadith 6
USC-MSA web (English) reference : Vol. 8, Book 81, Hadith 768
  (deprecated numbering scheme)