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.
bayhaqi:17088[Chain 1] Abū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > al-Shāfiʿī > Mālik b. Anas [Chain 2] Abū al-Ḥusayn b. al-Faḍl al-Qaṭṭān> ʿAbdullāh b. Jaʿfar b. Durustawayh > Yaʿqūb b. Sufyān > Ibn Qaʿnab And Ibn Bukayr > Mālik > Ibn Shihāb > ʿUbaydullāh b. ʿAbdullāh > Abū Hurayrah > Zayd b. Khālid al-Juhanī

[Machine] The Messenger of Allah ﷺ was asked about the slave woman who commits adultery and is not married. He said, "If she commits adultery, then flog her, and if she commits adultery again, then flog her, and if she commits adultery again, then flog her, and if she commits adultery again, then sell her, even if it is for a hair rope." Ibn Shihab said, "I do not know if it is after the third or fourth time." He said, "And the hair rope is a rope made of hair."  

البيهقي:١٧٠٨٨أَخْبَرَنَا أَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ مَالِكُ بْنُ أَنَسٍ ح وَأَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ الْفَضْلِ الْقَطَّانُ بِبَغْدَادَ أنبأ عَبْدُ اللهِ بْنُ جَعْفَرِ بْنِ دُرُسْتَوَيْهِ ثنا يَعْقُوبُ بْنُ سُفْيَانَ ثنا ابْنُ قَعْنَبٍ وَابْنُ بُكَيْرٍ عَنْ مَالِكٍ عَنِ ابْنِ شِهَابٍ عَنْ عُبَيْدِ اللهِ بْنِ عَبْدِ اللهِ عَنْ أَبِي هُرَيْرَةَ وَعَنْ زَيْدِ بْنِ خَالِدٍ الْجُهَنِيِّ

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

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

See similar narrations below:

Collected by Mālik
malik:41-14Mālik > Ibn Shihāb > ʿUbaydullāh b. ʿAbdullāh b. ʿUtbah b. Masʿūd > Abū Hurayrah And Zayd b. Khālid al-Juhanī

Malik related to me from Ibn Shihab from Ubaydullah ibn Abdullah ibn Utba ibn Masud from Abu Hurayra and Zayd ibn Khalid al-Juhani that the Messenger of Allah ﷺ was asked about a slave-girl who committed fornication and was not muhsana. He said, "If she commits fornication, then flog her. If she commits fornication again, then flog her, and if she commits fornication again, then sell her, if only for a rope." Ibn Shihab added, "I don't know whether it was three or four times."  

مالك:٤١-١٤حَدَّثَنِي مَالِكٌ عَنِ ابْنِ شِهَابٍ عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ عُتْبَةَ بْنِ مَسْعُودٍ عَنْ أَبِي هُرَيْرَةَ وَزَيْدِ بْنِ خَالِدٍ الْجُهَنِيِّ

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