It is narrated from Sayyiduna al-Miswar bin Makhramah (may Allah be pleased with him) that the husband of Subay'ah bint al-Harith al-Aslamiyyah (may Allah be pleased with her) died while she was pregnant, and only a short while later she gave birth. When she had recovered from her postnatal bleeding (nifas), she received a proposal of marriage, and she asked the Messenger of Allah (peace and blessings be upon him) for permission to marry. He (peace and blessings be upon him) gave her permission, and she married.
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17144