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.
abudawud:4472Aḥmad b. Saʿīd al-Hamdānī > Ibn Wahb > Yūnus > Ibn Shihāb > Abū Umāmah b. Sahl b. Ḥunayf

AbuUmamah ibn Sahl ibn Hunayf said that some companions of the Messenger of Allah ﷺ told that one of their men suffered so much from some illness that he pined away until he was skin and bone (i.e. only a skeleton). A slave-girl of someone visited him, and he was cheered by her and had unlawful intercourse with her. When his people came to visit the patient, he told them about it. He said: Ask the Messenger of Allah ﷺ about the legal verdict for me, for I have had unlawful intercourse with a slave-girl who visited me. So they mentioned it to the Messenger of Allah ﷺ saying: We have never seen anyone (so weak) from illness as he is. If we bring him to you, his bones will disintegrate. He is only skin and bone. So the Messenger of Allah ﷺ commanded them to take one hundred twigs and strike him once.  

أبو داود:٤٤٧٢حَدَّثَنَا أَحْمَدُ بْنُ سَعِيدٍ الْهَمْدَانِيُّ حَدَّثَنَا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ قَالَ أَخْبَرَنِي أَبُو أُمَامَةَ بْنُ سَهْلِ بْنِ حُنَيْفٍ

أَنَّهُ أَخْبَرَهُ بَعْضُ أَصْحَابِ رَسُولِ اللَّهِ ﷺ مِنَ الأَنْصَارِ أَنَّهُ اشْتَكَى رَجُلٌ مِنْهُمْ حَتَّى أُضْنِيَ فَعَادَ جِلْدَةً عَلَى عَظْمٍ فَدَخَلَتْ عَلَيْهِ جَارِيَةٌ لِبَعْضِهِمْ فَهَشَّ لَهَا فَوَقَعَ عَلَيْهَا فَلَمَّا دَخَلَ عَلَيْهِ رِجَالُ قَوْمِهِ يَعُودُونَهُ أَخْبَرَهُمْ بِذَلِكَ وَقَالَ اسْتَفْتُوا لِي رَسُولَ اللَّهِ ﷺ فَإِنِّي قَدْ وَقَعْتُ عَلَى جَارِيَةٍ دَخَلَتْ عَلَىَّ فَذَكَرُوا ذَلِكَ لِرَسُولِ اللَّهِ ﷺ وَقَالُوا مَا رَأَيْنَا بِأَحَدٍ مِنَ النَّاسِ مِنَ الضُّرِّ مِثْلَ الَّذِي هُوَ بِهِ لَوْ حَمَلْنَاهُ إِلَيْكَ لَتَفَسَّخَتْ عِظَامُهُ مَا هُوَ إِلاَّ جِلْدٌ عَلَى عَظْمٍ فَأَمَرَ رَسُولُ اللَّهِ ﷺ أَنْ يَأْخُذُوا لَهُ مِائَةَ شِمْرَاخٍ فَيَضْرِبُوهُ بِهَا ضَرْبَةً وَاحِدَةً  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:20030Abū ʿAlī al-Rūdhbārī > Muḥammad b. Bakr > Abū Dāwud > Aḥmad b. Saʿīd al-Hamadhānī > Ibn Wahb > Yūnus > Ibn Shihāb > Abū Umāmah b. Sahl b. Ḥunayf

[Machine] He informed him that some of the companions of the Messenger of Allah ﷺ from the Ansar had informed him that a man among them complained until he became worn out, and his skin was so thin that it adhered to his bones. A slave girl belonging to one of them entered upon him, so he struck her above the collarbone. Then he mentioned his story, saying: The Messenger of Allah ﷺ ordered them to take one hundred cane sticks for him and strike him with them once.  

البيهقي:٢٠٠٣٠وَأَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ مُحَمَّدُ بْنُ بَكْرٍ ثنا أَبُو دَاوُدَ ثنا أَحْمَدُ بْنُ سَعِيدٍ الْهَمَذَانِيُّ ثنا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ أَخْبَرَنِي أَبُو أُمَامَةَ بْنُ سَهْلِ بْنِ حُنَيْفٍ

أَنَّهُ أَخْبَرَهُ بَعْضُ أَصْحَابِ رَسُولِ اللهِ ﷺ مِنَ الْأَنْصَارِ أَنَّهُ اشْتَكَى رَجُلٌ مِنْهُمْ حَتَّى أُضْنِيَ فَعَادَ جِلْدُهُ عَلَى عَظْمٍ فَدَخَلَتْ عَلَيْهِ جَارِيَةٌ لِبَعْضِهِمْ فَهَشَّ لَهَا فَوَقَعَ عَلَيْهَا ثُمَّ ذَكَرَ قِصَّتَهُ قَالَ فَأَمَرَ رَسُولُ اللهِ ﷺ أَنْ يَأْخُذُوا لَهُ مِائَةَ شِمْرَاخٍ فَيَضْرِبُوهُ بِهَا ضَرْبَةً وَاحِدَةً