Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:1442Sufyān b. Wakīʿ from my father > Misʿar > Zayd al-ʿAmmī > Abū al-Ṣiddīq al-Nājī > Abū Saʿīd al-Khudrī

That the Messenger of Allah ﷺ implemented the penalty by beating forty times, with two shoes - Mis'ar (one of the narrators) said: "It think it was for wine."  

الترمذي:١٤٤٢حَدَّثَنَا سُفْيَانُ بْنُ وَكِيعٍ حَدَّثَنَا أَبِي عَنْ مِسْعَرٍ عَنْ زَيْدٍ الْعَمِّيِّ عَنْ أَبِي الصِّدِّيقِ النَّاجِيِّ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ

أَنَّ رَسُولَ اللَّهِ ﷺ ضَرَبَ الْحَدَّ بِنَعْلَيْنِ أَرْبَعِينَ قَالَ مِسْعَرٌ أَظُنُّهُ فِي الْخَمْرِ قَالَ وَفِي الْبَابِ عَنْ عَلِيٍّ وَعَبْدِ الرَّحْمَنِ بْنِ أَزْهَرَ وَأَبِي هُرَيْرَةَ وَالسَّائِبِ وَابْنِ عَبَّاسٍ وَعُقْبَةَ بْنِ الْحَارِثِ  

قَالَ أَبُو عِيسَى حَدِيثُ أَبِي سَعِيدٍ حَدِيثٌ حَسَنٌ وَأَبُو الصِّدِّيقِ النَّاجِيُّ اسْمُهُ بَكْرُ بْنُ عَمْرٍو وَيُقَالُ بَكْرُ بْنُ قَيْسٍ