Bulugh al-Maram, Book 10, Hadith 1280 (English)

Anas bin Malik (RAA) narrated, 'A man who had drunk wine was brought to the Prophet and he commanded that the man should be beaten (lashed). The man was given about forty lashes with two palm branches. Anas added, Abu Bakr (RAA) did the same, but when 'Umar (RAA) became the Caliph, he consulted the people and 'Abdur Rahman bin 'Auf said, "The mildest punishment for drinking is eighty (lashes).' So, 'Umar (RAA) gave his commands accordingly. Agreed upon.

عَنْ أَنَسِ بْنِ مَالِكٍ ‏- رضى الله عنه ‏- { أَنَّ اَلنَّبِيَّ ‏- صلى الله عليه وسلم ‏-أَتَى بِرَجُلٍ قَدْ شَرِبَ اَلْخَمْرَ, فَجَلَدَهُ بِجَرِيدَتَيْنِ نَحْوَ أَرْبَعِينَ.‏ قَالَ: وَفَعَلَهُ أَبُو بَكْرٍ, فَلَمَّا كَانَ عُمَرُ اِسْتَشَارَ اَلنَّاسَ, فَقَالَ عَبْدُ اَلرَّحْمَنِ بْنُ عَوْفٍ: أَخَفَّ اَلْحُدُودِ ثَمَانُونَ, فَأَمَرَ بِهِ عُمَرُ } مُتَّفَقٌ عَلَيْهِ.‏ (1617)‏.‏ ‏2 ‏- صحيح.‏ رواه البخاري (6773)‏، ومسلم (1706)‏ واللفظ لمسلم.‏ "تنبيه": الرواية: "أخف الحدود ثمانون" وليس كما ذكرها الحافظ، ولتوجيه ذلك انظر "الفتح".‏

sunnah.com

also referenced under: Book 10, Hadith 1241 (In-Book)