"Ibn 'Abbas, Abu Hurairah and I were together, and Ibn 'Abbas said: 'If a woman gives birth after her husband dies, her 'Iddah is the longer of the two periods.'" Abu Salamah said: "We sent Kuraib to Umm Salamah to ask her about that. He came to us and told us from her that the husband of Subai'ah died and she gave birth a few days after her husband died, and the Messenger of Allah told her to get married." (Using translation from Nasāʾī 3515)
أَبُو سَلَمَةَ فَقُلْتُ إِذَا وَضَعَتْ فَقَدْ حَلَّتْ وَانْقَضَتْ عِدَّتُهَا فَقَالَ أَبُو هُرَيْرَةَ أَقُولُ مَا قَالَ ابْنُ أَخِي فَقَالَ أَبُو سَلَمَةَ فَبَعَثْنَا كُرَيْبًا إِلَى أُمِّ سَلَمَةَ يَسْأَلُهَا عَنْ ذَلِكَ فَجَاءَنَا مِنْ عِنْدِهَا أَنَّ سُبَيْعَةَ تُوُفِّيَ عَنْهَا زَوْجُهَا فَوَضَعَتْ بَعْدَ وَفَاةِ زَوْجِهَا بِأَيَّامٍ «فَأَمَرَهَا رَسُولُ اللهِ ﷺ أَنْ تَتَزَوَّجَ»