BAYHAQI 17532:
from al-Nabī ﷺ Jalad —
[Machine] The Prophet ﷺ administered the punishment of flogging with a stick in cases of theft. Abu Umara said that he was flogged with a stick in cases of drinking alcohol, and his sandals were also used in the flogging. Abu Bakr also administered forty lashes. However, when Umar became the caliph, he asked, "The people have moved closer to the rural areas, so what do you think about the punishment for drinking alcohol?" Abdur Rahman ibn Awf replied, "We suggest that you make it the lightest of punishments, so flog them eighty times."
البيهقي ١٧٥٣٢:
عن النبي ﷺ جلد —
أَنَّ النَّبِيَّ ﷺ جَلَدَ فِي الْحَدِّ بِالْجَرِيدِ وَقَالَ أَبُو عُمَرَ ضَرَبَ فِي الْخَمْرِ بِالْجَرِيدِ وَالنِّعَالِ وَضَرَبَ أَبُو بَكْرٍ ؓ أَرْبَعِينَ فَلَمَّا أَنْ وَلِيَ عُمَرُ ؓ قَالَ إِنَّ النَّاسَ قَدْ دَنَوْا مِنَ الرِّيفِ فَمَا تَرَوْنَ فِي حَدِّ الْخَمْرِ؟ فَقَالَ لَهُ عَبْدُ الرَّحْمَنِ بْنُ عَوْفٍ ؓ نَرَى أَنْ تَجْعَلَهُ كَأَخَفِّ الْحُدُودِ فَجَلَدَهُ ثَمَانِينَ
hadithunlocked.com