Sayyiduna al-Sa'ib bin Yazid (may Allah be pleased with him) said: In the time of the Messenger (peace and blessings be upon him), in the time of Abu Bakr al-Siddiq (may Allah be pleased with him), and up to the beginning of the caliphate of Umar (may Allah be pleased with him), we used to beat drinkers with our hands, our sandals and our cloaks. Then Sayyiduna Umar (may Allah be pleased with him) fixed it at 40 lashes. When people began drinking more, Sayyiduna Umar (may Allah be pleased with him) made it 80.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأشربة والحد فيها / 17536