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.
English reference: Book 10, Hadith 1280
Arabic reference: Book 10, Hadith 1241