Yahya related to me from Malik from Hisham ibn 'Urwa from his father that al-Miswar ibn Makhrama told him that Subaya al-Aslamiya gave birth a few nights after the death of her husband. The Messenger of Allah ﷺ said to her, "You are free to marry, so marry whomever you wish."
أَنَّ سُبَيْعَةَ الأَسْلَمِيَّةَ نُفِسَتْ بَعْدَ وَفَاةِ زَوْجِهَا بِلَيَالٍ فَقَالَ لَهَا رَسُولُ اللَّهِ ﷺ قَدْ حَلَلْتِ فَانْكِحِي مَنْ شِئْتِ