Musnad Ahmad 624
It was narrated from Huzain Abu Sasan Ar-Raqashi that some people from Koofah came to `Uthman (رضي الله عنه) and told him what Al-Waleed had done - i.e., drinking alcohol. ‘Ali spoke to him about that and he said:
Here is your cousin; carry out the hadd punishment on him. He said: O Hasan, get up and flog him. He said: You are not able to do that, appoint someone else for this. He said: Rather you are too weak and helpless. Get up, O Abdullah bin Ja’far. So `Abdullah began to strike him and ‘Ali counted until he reached forty. Then he said: Stop - or That`s enough. The Messenger of Allah (ﷺ) gave forty lashes and Abu Bakr gave forty lashes,andʻUmar completed it and made it eighty. And all are Sunnah.
حَدَّثَنَا إِسْمَاعِيلُ، عَنْ سَعِيدِ بْنِ أَبِي عَرُوبَةَ، عَنْ عَبْدِ اللَّهِ الدَّانَاجِ، عَنْ حُضَيْنٍ أَبِي سَاسَانَ الرَّقَاشِيِّ، أَنَّهُ قَدِمَ نَاسٌ مِنْ أَهْلِ الْكُوفَةِ عَلَى عُثْمَانَ رَضِيَ اللَّهُ عَنْهُ فَأَخْبَرُوهُ بِمَا كَانَ مِنْ أَمْرِ الْوَلِيدِ أَيْ بِشُرْبِهِ الْخَمْرَ فَكَلَّمَهُ عَلِيٌّ فِي ذَلِكَ فَقَالَ دُونَكَ ابْنَ عَمِّكَ فَأَقِمْ عَلَيْهِ الْحَدَّ فَقَالَ يَا حَسَنُ قُمْ فَاجْلِدْهُ قَالَ مَا أَنْتَ مِنْ هَذَا فِي شَيْءٍ وَلِّ هَذَا غَيْرَكَ قَالَ بَلْ ضَعُفْتَ وَوَهَنْتَ وَعَجَزْتَ قُمْ يَا عَبْدَ اللَّهِ بْنَ جَعْفَرٍ فَجَعَلَ عَبْدُ اللَّهِ يَضْرِبُهُ وَيَعُدُّ عَلِيٌّ حَتَّى بَلَغَ أَرْبَعِينَ ثُمَّ قَالَ أَمْسِكْ أَوْ قَالَ كُفَّ جَلَدَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَرْبَعِينَ وَأَبُو بَكْرٍ أَرْبَعِينَ وَكَمَّلَهَا عُمَرُ ثَمَانِينَ وَكُلٌّ سُنَّةٌ‏.‏