The Messenger of Allah ﷺ flogged the wine drinker with forty lashes, and so did Abu Bakr, and Umar completed it as eighty, and each is sunnah.
حدثنا مسدد حدثنا يحيى عن ابن أبي عروبة عن الداناج عن حضين بن المنذر
جلد رسول الله ﷺ في الخمر وأبو بكر أربعين وكملها عمر ثمانين وكل سنة