Musnad Ahmad 1184
It was narrated that Huzain said:
Testimony was given against or Husain al-Waleed bin `Uqbah before ‘Uthman, that he drank alcohol. `Ali spoke to ‘Uthman about him and he said: Here is       your cousin, flog him. He said: Get up O Hasan (and flog him). He said: What do you have to do with this man? Let someone other than you do that. He said: Rather you felt incapable and weak. Get up, O `Abdullah bin Jafar, and flog him. ‘Ali (رضي الله عنه) started counting, and when he reached forty he said. That`s enough-or:Stop-The Messenger of Allah (ﷺ) gave forty lashes, and Abu Bakr gave forty lashes, and `Umar completed it, making it eighty. And all are Sunnah.
حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا سَعِيدٌ، عَنْ عَبْدِ اللَّهِ الدَّانَاجِ، عَنْ حُضَيْنٍ، قَالَ شُهِدَ عَلَى الْوَلِيدِ بْنِ عُقْبَةَ عِنْدَ عُثْمَانَ أَنَّهُ شَرِبَ الْخَمْرَ فَكَلَّمَ عَلِيٌّ عُثْمَانَ فِيهِ فَقَالَ دُونَكَ ابْنُ عَمِّكَ فَاجْلِدْهُ فَقَالَ قُمْ يَا حَسَنُ فَقَالَ مَا لَكَ وَلِهَذَا وَلِّ هَذَا غَيْرَكَ فَقَالَ بَلْ عَجَزْتَ وَوَهَنْتَ وَضَعُفْتَ قُمْ يَا عَبْدَ اللَّهِ بْنَ جَعْفَرٍ فَجَلَدَهُ وَعَدَّ عَلِيٌّ رَضِيَ اللَّهُ عَنْهُ فَلَمَّا كَمَّلَ أَرْبَعِينَ قَالَ حَسْبُكَ أَوْ أَمْسِكْ جَلَدَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَرْبَعِينَ وَأَبُو بَكْرٍ أَرْبَعِينَ وَكَمَّلَهَا عُمَرُ ثَمَانِينَ وَكُلٌّ سُنَّةٌ‏.‏