Hudayn bin Munzir reported,

I was present with Uthman bin Affan when Walid was brought to him, having led the dawn prayer in two cycles, after which he said, "Shall I add more for you?"Two men testified against him, one of them Humran, that he had drunk wine, and another testified that he had seen him vomit it. Uthman said, "He would not have vomited it unless he had drunk it."Then he said, "Ali, get up and flog him."Ali said, "Hasan, get up and flog him."Hasan replied, "Let the one who enjoys its sweetness handle its bitterness." It seemed he was annoyed with him.So Ali said, "Abdullah bin Jafar, get up and flog him." Abdullah flogged him while Ali counted, until he reached forty, then he said, "Stop."Then Ali said, "The Prophet ﷺ flogged forty, Abu Bakr flogged forty, and Umar flogged eighty. All of them are sunnah, but this one is more beloved to me."Ali bin Hujr added in his narration, Ismail said, "I had heard the hadith of al-Danaj from him but I did not memorize it."

Muslim 4457

Sahih

و حدثنا أبو بكر بن أبي شيبة وزهير بن حرب وعلي بن حجر قالوا حدثنا إسمعيل وهو ابن علية عن ابن أبي عروبة عن عبد الله الداناج ح و حدثنا إسحق بن إبراهيم الحنظلي واللفظ له أخبرنا يحيى بن حماد حدثنا عبد العزيز بن المختار حدثنا عبد الله بن فيروز مولى ابن عامر الداناج

حدثنا حضين بن المنذر أبو ساسان قال

شهدت عثمان بن عفان وأتي بالوليد قد صلى الصبح ركعتين ثم قال أزيدكم فشهد عليه رجلان أحدهما حمران أنه شرب الخمر وشهد آخر أنه رآه يتقيأ فقال عثمان إنه لم يتقيأ حتى شربها فقال يا علي قم فاجلده فقال علي قم يا حسن فاجلده فقال الحسن ول حارها من تولى قارها فكأنه وجد عليه فقال يا عبد الله بن جعفر قم فاجلده فجلده وعلي يعد حتى بلغ أربعين فقال أمسك ثم قال جلد النبي ﷺ أربعين وجلد أبو بكر أربعين وعمر ثمانين وكل سنة وهذا أحب إلي زاد علي بن حجر في روايته قال إسمعيل وقد سمعت حديث الداناج منه فلم أحفظه

مسلم 4457صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Legal punishments
Chapter
Hadd for wine
Numbering
Darussalam 4457
Muslim 4457