Ubaydullah bin Abdullah bin Utba reported,

Abdullah bin Utba's son reported that his father wrote to Umar bin Abdullah bin Arqam Zuhri, instructing him to visit Subayah bint Harith Aslamiyyah and ask her about her story and about what the Messenger of Allah ﷺ had told her when she sought his ruling.Umar bin Abdullah then wrote back to Abdullah bin Utba, informing him that Subayah had told him she had been married to Saad bin Khawla, who belonged to Banu Amir bin Luayy and was one of those who fought at Badr. He died during the Farewell Pilgrimage while she was pregnant, and she gave birth not long after his death. When she had recovered from her postnatal bleeding, she adorned herself for suitors.Then Abu Sanabil bin Bakak, a man from Banu Abdul-Dar, came to her and said, "Why do I see you all dressed up? Perhaps you are hoping to marry. By Allah, you cannot marry until four months and ten days have passed over you."Subayah said, "When he said that to me, I gathered my clothes about me that evening and went to the Messenger of Allah ﷺ and asked him about it. He ruled that I had become free to marry the moment I gave birth, and he told me to marry if I wished."Ibn Shihab said, "So I see no harm in her marrying as soon as she gives birth, even if she is still bleeding, except that her husband should not approach her until she is pure."

Muslim 3722

Sahih

و حدثني أبو الطاهر وحرملة بن يحيى وتقاربا في اللفظ قال حرملة حدثنا و قال أبو الطاهر أخبرنا ابن وهب حدثني يونس بن يزيد عن ابن شهاب

حدثني عبيد الله بن عبد الله بن عتبة بن مسعود

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

مسلم 3722صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Divorce
Chapter
Completion of the waiting period for a widow and others by giving birth
Numbering
Darussalam 3722
Muslim 3722