حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ عَبْدِ رَبِّهِ بْنِ سَعِيدِ بْنِ قَيْسٍ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، أَنَّهُ قَالَ سُئِلَ عَبْدُ اللَّهِ بْنُ عَبَّاسٍ وَأَبُو هُرَيْرَةَ عَنِ الْمَرْأَةِ الْحَامِلِ يُتَوَفَّى عَنْهَا زَوْجُهَا فَقَالَ ابْنُ عَبَّاسٍ آخِرَ الأَجَلَيْنِ ‏.‏ وَقَالَ أَبُو هُرَيْرَةَ إِذَا وَلَدَتْ فَقَدْ حَلَّتْ ‏.‏ فَدَخَلَ أَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ عَلَى أُمِّ سَلَمَةَ زَوْجِ النَّبِيِّ صلى الله عليه وسلم فَسَأَلَهَا عَنْ ذَلِكَ فَقَالَتْ أُمُّ سَلَمَةَ وَلَدَتْ سُبَيْعَةُ الأَسْلَمِيَّةُ بَعْدَ وَفَاةِ زَوْجِهَا بِنِصْفِ شَهْرٍ فَخَطَبَهَا رَجُلاَنِ أَحَدُهُمَا شَابٌّ وَالآخَرُ كَهْلٌ فَحَطَّتْ إِلَى الشَّابِّ فَقَالَ الشَّيْخُ لَمْ تَحِلِّي بَعْدُ ‏.‏ وَكَانَ أَهْلُهَا غَيَبًا وَرَجَا إِذَا جَاءَ أَهْلُهَا أَنْ يُؤْثِرُوهُ بِهَا فَجَاءَتْ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏"‏ قَدْ حَلَلْتِ فَانْكِحِي مَنْ شِئْتِ ‏"‏ ‏.‏

Yahya related to me from Malik from Abdu Rabbih ibn Said ibn Qaysthat Abu Salama ibn Abd ar-Rahman said that Abdullah ibn Abbas and AbuHurayra were asked when a pregnant woman whose husband had died couldremarry. Ibn Abbas said, "At the end of two periods." Abu Hurayrasaid, "When she gives birth, she is free to marry." Abu Salama ibn Abdar-Rahman visited Umm Salama, the wife of the Prophet, may Allah blesshim and grant him peace, and asked her about it Umm Salama said,''Subaya al-Aslamiya gave birth half a month after the death of herhusband, and two men asked to marry her. One was young and the otherwas old. She preferred the young man and so the older man said, 'Youare not free to marry yet.' Her family were away and he hoped thatwhen her family came, they would give her to him. She went to theMessenger of Allah, may Allah bless him and grant him peace, and hesaid, 'You are free to marry, so marry whomever you wish.' " Translation Not Available

Book Ref: Muwatta Imam Malik Book 29 Hadith 1246
Web Ref:  Muwatta Imam Malik Book 29 Hadith 83