Allah's Apostle, I have done something for which (prescribed punishment) must be imposed upon me, so impose that. Allah's Apostle ﷺ called her master and said: Treat her well, and when she delivers bring her to me. He did accordingly. Then Allah's Apostle ﷺ pronounced judgment about her and her clothes were tied around her and then he commanded and she was stoned to death. He then prayed over her (dead body). Thereupon Umar said to him: Allah's Apostle, you offer prayer for her, whereas she had committed adultery! Thereupon he said: She has made such a repentance that if it were to be divided among seventy men of Medina, it would be enough. Have you found any repentance better than this that she sacr ficed her life for Allah, the Majestic? (Using translation from Muslim 1696a)
أَقْبَلَتِ امْرَأَةٌ إِلَى رَسُولِ اللهِ ﷺ فَقَالَتْ يَا رَسُولَ اللهِ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَدَعَا وَلِيَّهَا فَقَالَ أَحْسِنْ إِلَى هَذِهِ حَتَّى تَضَعَ مَا فِي بَطْنِهَا فَإِذَا وَضَعَتْ مَا فِي بَطْنِهَا فَائْتِ بِهَا فَلَمَّا وَضَعَتْ مَا فِي بَطْنِهَا أُتِيَ بِهَا رَسُولَ اللهِ ﷺ فَأَمَرَ بِهَا رَسُولُ اللهِ ﷺ فَشَكَتْ عَلَيْهَا ثِيَابَهَا ثُمَّ أَمَرَ بِهَا فَرُجِمَتْ ثُمَّ صَلَّى عَلَيْهَا فَقَالَ عُمَرُ يَا رَسُولَ اللهِ أَتُصَلِّي عَلَيْهَا وَقَدْ زَنَتْ؟ قَالَ قَدْ تَابَتْ تَوْبَةً لَوْ قُسِمَتْ بَيْنَ سَبْعِينَ لَوَسِعَتْهُمْ وَهَلْ وَجَدَتْ تَوْبَةً أَفْضَلَ مِنْ أَنْ جَادَتْ بِمُهْجَةِ نَفْسِهَا لِلَّهِ؟