عَنْ أَنَسٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ضَرَبَ فِي الْخَمْرِ بِالْجَرِيدِ والنِّعالِ وجلَدَ أَبُو بكرٍ رَضِي الله عَنهُ أربعينَ وَفِي رِوَايَة عَنْهُ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَضْرِبُ فِي الْخَمْرِ بِالنِّعَالِ وَالْجَرِيدِ أَرْبَعِينَ
Translation
As-Sa’ib b. Yazid said

When a drinker was brought in the time of God’s Messenger, during Abu Bakr’s Caliphate and in the beginning of ‘Umar’s Caliphate, we beat him with our hands, sandals and cloaks, but at the end of ‘Umar’s Caliphate he inflicted forty stripes, and when people were immoderate and excessively wicked he inflicted eighty stripes. Bukhari transmitted it.