Anas bin Malik (RA) reported that a person who had drunk wine was brought to Allahs Apostle ﷺ . He gave him forty stripes with two lashes. Abu Bakr (RA) also did that, but when Umar (assumed the responsibilities) of the Caliphate, he consulted people and Abdul Rahman said: The mildest punishment (for drinking) is eighty (stripes) and Umar therefore prescribed this punishment.