It was narrated from `Ali (رضي الله عنه) that A servant of the Prophet (ﷺ) committed an immoral action and the Prophet (ﷺ) wanted me to carry out the hadd punishment on her. I went to her and found that [the post partum] bleeding had not yet ended. So I went to him and told him, and he said:
“When her bleeding ends, carry out the hadd punishment on her. Carry out the Hadd punishments on those whom your right hands possess (i.e., slave women).”