It is narrated from Abu Abd al-Rahman al-Sulami (may Allah have mercy on him) that Sayyiduna Ali (may Allah be pleased with him) delivered a sermon and said: "O people, carry out the prescribed punishment on your slaves, male and female, whether they are married or unmarried; for a slave woman of the Messenger of Allah (peace and blessings be upon him) committed adultery, and the Messenger of Allah (peace and blessings be upon him) ordered me to flog her. So I came to her and saw that she had only recently given birth (nifas), and I feared that if I flogged her (in this state), she would die. So I came to the Messenger of Allah (peace and blessings be upon him) and informed him (peace and blessings be upon him) of the situation, and he (peace and blessings be upon him) said: 'You have done very well.'"
Hadith Referenceمسند أبي يعلى الموصلي / مسند علي بن أبي طالب رضي الله عنه / 326
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده حسن . » «قال سعيد بن محمد السناري: قوى لغيره» «أخرجه صحيح مسلم برقم: 1705، وأخرجه سنن الترمذي برقم: 1441، وأخرجه سنن أبي داود برقم: 4473، وأخرجه مسند أحمد برقم: 1343، وأخرجه فتح الباري برقم: 6447، وأخرجه مسند البزار برقم: 591، 762، وأخرجه المستدرك على الصحيحين برقم: 8169، وأخرجه المعجم الأوسط للطبراني برقم: 5372، وأخرجه السنن الصغير للبيهقي برقم: 3247، مسند ابویعلیٰ ترقیم الاثری: 321»