Jami` at-Tirmidhi 1441
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَحْسَنْتَ "
Narrated Abu 'Abdur-Rahman As-Sulami:
"Ali gave a Khutbah, and said: 'O people, establish the penalties upon your slaves, those married from them and those unmarried. A slave girl of the Prophet (ﷺ) committed illegal sexual intercourse so he ordered me to whip her. I went to her and she was just experiencing her post-natal bleeding, so I feared that if I were to whip her I would kill her' - or he said: 'She would die' - 'so I went to the Messenger of Allah (ﷺ) and I told that to him. So he said: 'You did well.'"
Full reference and source
Jami` at-Tirmidhi 1441 In-book : Book 17, Hadith 24 English translation : Vol. 3, Book 15, Hadith 1441
View source on Sunnah.com (opens in a new tab)