Sunan Abi Dawud 4469
Grading supplied with this record: Sahih (Al-Albani)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنْ زَنَتْ فَاجْلِدُوهَا ثُمَّ إِنْ زَنَتْ فَاجْلِدُوهَا ثُمَّ إِنْ زَنَتْ فَاجْلِدُوهَا ثُمَّ إِنْ زَنَتْ فَبِيعُوهَا وَلَوْ بِضَفِيرٍ "
Abu Hurairah and Zaid b. Khalid al-Juhani said:
The Messenger of Allah (ﷺ) was asked about a slave-woman who commits fornication, and she is not married: If she commits fornication, flog her: if she commits fornication again flog her; if only for a rope of hair (dafir). Ibn Shihab: I do not know whether he (the Prophet) said it is a third or a fourth time.
Full reference and source
Sunan Abi Dawud 4469 In-book : Book 40, Hadith 119 English translation : Book 39, Hadith 4454
View source on Sunnah.com (opens in a new tab)