A female servant of the Prophet ﷺ committed zina and he ordered me to carry out the hadd punishment on her. I found that her (postpartum) bleeding had not yet stopped, so i went to him and told him about that, and he said: “When the bleeding stops, then carry out the hadd punishment on her. Carry out the hadd punishment on those whom your right hands possess.” This is the version of Ishaq bin Ismaʿeel. it was narrated that ‘Ali ؓ said: The Prophet ﷺ was told about a slave woman of his who had committed an immoral action.... and he narrated the hadeeth.
أَنَّ خَادِمًا لِلنَّبِيِّ ﷺ فَجَرَتْ فَأَمَرَنِي أَنْ أُقِيمَ عَلَيْهَا الْحَدَّ فَوَجَدْتُهَا لَمْ تَجِفَّ مِنْ دَمِهَا فَأَتَيْتُهُ فَذَكَرْتُ لَهُ فَقَالَ إِذَا جَفَّتْ مِنْ دَمِهَا فَأَقِمْ عَلَيْهَا الْحَدَّ أَقِيمُوا الْحُدُودَ عَلَى مَا مَلَكَتْ أَيْمَانُكُمْ