Sayyidina lmran ibn Husayn narrated that a woman of Juhayrah confessed before the Prophet (SAW) that she had committed adultery. She said that she was pregnant. The Prophet (SAW) summoned her guardian and said (to him), “Look after her well, and when she delivers her child, in form me’. So he did that. The Prophet s’ gave a command and her garments were bound to her body. Then he ordered that she should be stoned to death. That was done to her. Then he prayed over her. Sayyidina Umar ibn Khattab (RA) said to him, “0 Messenger of Allah! you punished her with rajm then prayed over he” He said, She had repented a repentance which if it were divided over seventy people of Madinah that would have been enough for them. And do you find anything better than what she has spent of her life for Allah?”
[Muslim 1696]