Masruq and Amr bin Utba reported,

Both of them wrote to Subayah bint Harith asking her about her situation, and she wrote back to them that she gave birth twenty-five days after her husband's death, then prepared herself and began seeking a suitable match.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, "For what reason?"I told him what had happened.He said, "If you find a righteous husband, then marry."

Azami 6657

Sahih

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

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

الأعظمي 6657صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Waiting period, mourning, and maintenance
Section
Waiting period of the pregnant divorced woman and the widow is giving birth
Numbering
Jami al-Kamil 6657 (2nd edition)
Azami 6657