Hudayn Abu Sasan Raqashi reported,

Some people from Kufa came to Uthman رضي الله عنه and informed him about what Walid had done, namely that he had been drinking wine. Ali spoke to Uthman about it, and Uthman said, "Here is your cousin. Carry out the prescribed punishment on him."Ali said, "Hasan, get up and flog him."Hasan replied, "You have nothing to do with this. Assign it to someone other than me."Ali said, "Rather, you have grown weak, feeble, and incapable. Get up, Abdullah bin Jafar."So Abdullah began flogging him while Ali counted, until he reached forty. Then Ali said, "Stop," or he said, "Hold back. The Messenger of Allah ﷺ flogged forty lashes, Abu Bakr flogged forty, and Umar completed it at eighty, and all of them are sunnah."

Ahmad 624

Sahih

حدثنا إسماعيل عن سعيد بن أبي عروبة عن عبد الله الداناج

عن حضين أبي ساسان الرقاشي

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

أحمد 624صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 624
Ahmad 624