It was narrated from ‘Ali (رضي الله عنه) that he said:
The Messenger of Allah (ﷺ) sent me to a black slave woman of his who had committed zina, to carry out the hadd punishment of flogging on her, I found that she was still bleeding (postpartum) so I went to the Prophet (ﷺ) and told him about that. He said to me: `When she recovers from her nifas (postpartum bleeding), give her fifty lashes. Abur-Rabee` said in his hadeeth:... I told the Prophet (ﷺ) and he said: “When her bleeding stops, then give her the hadd punishment.` Then he said: “carry out the hadd punishments.”