كتاب الحدود
17  
Prescribed Punishments
(3a)
Chapter: The Prescribed Punishment for Drinking Wine - Section 1
(3)
باب حد الخمر - الفصل الأول
Mishkat al-Masabih 3614, 3615
Anas told that the Prophet gave a beating with palm branches and sandals for drinking wine and that Abu Bakr gave forty lashes. (Bukhari and Muslim.) In a version on his authority it says that the Prophet used to give forty stripes with palm branches and sandals for drinking wine.
عَنْ أَنَسٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ضَرَبَ فِي الْخَمْرِ بِالْجَرِيدِ والنِّعالِ وجلَدَ أَبُو بكرٍ رَضِي الله عَنهُ أربعينَ

وَفِي رِوَايَة عَنْهُ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَضْرِبُ فِي الْخَمْرِ بِالنِّعَالِ وَالْجَرِيدِ أَرْبَعِينَ

Reference : Mishkat al-Masabih 3614, 3615
In-book reference : Book 17, Hadith 54