Sunan an-Nasa'i, Book 27, Hadith 134 (In-Book)

It was narrated from 'Alqamah bin Qais that Ibn Mas'ud said: "Whoever wants, I will meet and debate with him and invoke the curse of Allah upon those who lie. The Verse: 'And for those who are pregnant (whether they are divorced or their husbands are dead), their 'Iddah (prescribed period) is until they lay down their burden.' was only revealed after the Verse about women whose husbands die. 'When a woman whose husband has died gives birth, it becomes permissible for her to marry.'" This is the wording of Maimun (one of the narrators).

أَخْبَرَنِي مُحَمَّدُ بْنُ مِسْكِينِ بْنِ نُمَيْلَةَ، - يَمَامِيٌّ - قَالَ أَنْبَأَنَا سَعِيدُ بْنُ أَبِي مَرْيَمَ، قَالَ أَنْبَأَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، ح وَأَخْبَرَنِي مَيْمُونُ بْنُ الْعَبَّاسِ، قَالَ حَدَّثَنَا سَعِيدُ بْنُ الْحَكَمِ بْنِ أَبِي مَرْيَمَ، قَالَ أَخْبَرَنِي مُحَمَّدُ بْنُ جَعْفَرٍ، قَالَ حَدَّثَنِي ابْنُ شُبْرُمَةَ الْكُوفِيُّ، عَنْ إِبْرَاهِيمَ النَّخَعِيِّ، عَنْ عَلْقَمَةَ بْنِ قَيْسٍ، أَنَّ ابْنَ مَسْعُودٍ، قَالَ مَنْ شَاءَ لاَعَنْتُهُ مَا أُنْزِلَتْ ‏{‏ وَأُولاَتُ الأَحْمَالِ أَجَلُهُنَّ أَنْ يَضَعْنَ حَمْلَهُنَّ ‏}‏ إِلاَّ بَعْدَ آيَةِ الْمُتَوَفَّى عَنْهَا زَوْجُهَا إِذَا وَضَعَتِ الْمُتَوَفَّى عَنْهَا زَوْجُهَا فَقَدْ حَلَّتْ وَاللَّفْظُ لِمَيْمُونٍ ‏.‏

sunnah.com