That a man who had drunk wine was brought to the Prophet ﷺ, so he beat him about forty times with two stalks of a palm tree. So Abu Bakr did similarly, and by the time 'Umar became Khalifah he sought council from the people. And 'Abdur-Rahman bin 'Awf said: 'I see that the lightest penalty is eighty lashes,' so 'Umar ordered that. (Using translation from Tirmidhī 1443)
أَنَّ النَّبِيَّ ﷺ أُتِيَ بِرَجُلٍ قَدْ شَرِبَ الْخَمْرَ فَجَلَدَهُ نَحْوَ الْأَرْبَعِينَ وَفَعَلَهُ أَبُو بَكْرٍ فَلَمَّا كَانَ عُمَرُ اسْتَشَارَ النَّاسَ فَقَالَ عَبْدُ الرَّحْمَنِ بْنُ عَوْفٍ أَخَفُّ الْحُدُودِ ثَمَانُونَ فَأَمَرَ بِهِ عُمَرُ وَقَالَ حَجَّاجٌ ثَمَانُونَ وَأَمَرَ بِهِ عُمَرُ