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.
tabarani:5204Muḥammad b. al-ʿAbbās al-Muʾaddib > ʿUbayd b. Isḥāq al-ʿAṭṭār > Abū Maryam ʿAbd al-Ghaffār b. al-Qāsim > al-Walīd b. Kathīr > al-Zuhrī > ʿUbaydullāh b. ʿAbdullāh b. ʿUtbah

[Machine] He heard Abu Hurairah and Zaid bin Khalid say that they witnessed the Messenger of Allah ﷺ being asked about a slave girl if she committed adultery. He said, "Flog her three times, then sell her, even if it is just for a rope."  

الطبراني:٥٢٠٤حَدَّثَنَا مُحَمَّدُ بْنُ الْعَبَّاسِ الْمُؤَدِّبُ ثنا عُبَيْدُ بْنُ إِسْحَاقَ الْعَطَّارُ ثنا أَبُو مَرْيَمَ عَبْدُ الْغَفَّارِ بْنُ الْقَاسِمِ عَنِ الْوَلِيدِ بْنِ كَثِيرٍ عَنِ الزُّهْرِيِّ أَنَّ عُبَيْدَ اللهِ بْنَ عَبْدِ اللهِ بْنِ عُتْبَةَ حَدَّثَهُ

أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ وَزَيْدَ بْنَ خَالِدٍ أَنَّهُمَا شَهِدَا رَسُولَ اللهِ ﷺ سُئِلَ عَنِ الْأَمَةِ إِذَا زَنَتْ؟ قَالَ «اجْلِدُوهَا ثَلَاثَ مَرَّاتٍ ثُمَّ بِيعُوهَا وَلَوْ بِعِقَالٍ»  


See similar narrations below:

Collected by Bukhārī
bukhari:2232Zuhayr b. Ḥarb > Yaʿqūb from my father > Ṣāliḥ > Ḥaddath Ibn Shihāb > ʿUbaydullāh > Zayd

that Messenger of Allah ﷺ was asked about an unmarried slave-girl who committed illegal sexual intercourse. They heard him saying, "Flog her, and if she commits illegal sexual intercourse after that, flog her again, and on the third (or the fourth) offense, sell her."  

البخاري:٢٢٣٢حَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ حَدَّثَنَا يَعْقُوبُ حَدَّثَنَا أَبِي عَنْ صَالِحٍ قَالَ حَدَّثَ ابْنُ شِهَابٍ أَنَّ عُبَيْدَ اللَّهِ

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