Imran bin Husayn reported,

A woman, who in Abban's narration is described as being from Juhayna, came to the Prophet ﷺ and told him that she had committed adultery and was now pregnant. The Prophet ﷺ summoned her guardian and said to him, "Treat her kindly, and when she has given birth, bring her to me."When she had given birth, he brought her. The Prophet ﷺ gave the order, and her clothes were tied securely around her. Then he ordered that she be stoned, and she was stoned. After that, he commanded the people to pray over her.Umar said, "Messenger of Allah, are you going to pray over her when she has committed adultery?"He replied, "By the One in whose hand my soul is, she has made such a sincere repentance that if it were divided among seventy of the people of Madina, it would suffice them all. Have you found anything better than that she gave up her own life?"Abban's version does not include the words "her clothes were tied securely around her."

Abu Dawud 4440

Sahih

حدثنا مسلم بن إبراهيم أن هشاما الدستوائي وأبان ابن يزيد حدثاهم المعنى عن يحيى عن أبي قلابة عن أبي المهلب

عن عمران بن حصين

أن امرأة قال في حديث أبان من جهينة أتت النبي ﷺ فقالت إنها زنت وهي حبلى فدعا النبي ﷺ وليا لها فقال له رسول الله ﷺ أحسن إليها فإذا وضعت فجئ بها فلما أن وضعت جاء بها فأمر بها النبي ﷺ فشكت عليها ثيابها ثم أمر بها فرجمت ثم أمرهم فصلوا عليها فقال عمر يا رسول الله تصلي عليها وقد زنت قال والذي نفسي بيده لقد تابت توبة لو قسمت بين سبعين من أهل المدينة لوسعتهم وهل وجدت أفضل من أن جادت بنفسها لم يقل عن أبان فشكت عليها ثيابها

أبو داود 4440صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Legal punishments
Chapter
Woman from Juhaynah whom the Prophet ﷺ ordered to be stoned
Numbering
Darussalam 4440
Abu Dawud 4440