Masruq and Amr bin Utba reported,

The two of them wrote to Subayah bint Harith asking her about her situation. She wrote back to them that she had given birth twenty-five days after her husband's death, then she prepared herself and began seeking what was best for her. Abu Sanabil bin Bakak passed by her and said, "You have been too quick. Observe the longer of the two waiting periods, four months and ten days."So I went to the Prophet ﷺ and said, "Messenger of Allah, ask forgiveness for me."He asked, "Why is that?"I told him what had happened, and he said, "If you find a righteous husband, then marry."

Ibn Majah 2028

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا علي بن مسهر عن داود بن أبي هند عن الشعبي

عن مسروق وعمرو بن عتبة

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

ابن ماجه 2028صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Divorce
Chapter
Pregnant woman whose husband has died becomes lawful for marriage when she gives birth
Numbering
Darussalam 2028
Ibn Majah 2028