Sunan an-Nasa'i, Volume 4, Book 27, Hadith 3529 (DarusSalam)

It was narrated from Ibn 'Abbas with regard to Allah's saying: "Whatever a Verse (revelation) do We abrogate or cause to be forgotten, We bring a better one or similar to it." and He said: "And when We change a Verse in place of another --and Allah knows best what He sends down." and He said: "Allah blots out what He wills and confirms (what He wills). And with Him is the Mother of the Book." "The first thing that was abrogated in the Qur'an was the Qiblah." And He said: "And divorced women shall wait (as regards their marriage) for three menstrual periods." and He said: "And those of your women as have passed the age of monthly courses, for them the 'Iddah, if you have doubt (about their periods), is three months." So (some) of that was abrogated, (according to) His, Most High, saying: "And then divorce them before you have sexual intercourse with them, no 'Iddah have you to count in respect of them."

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

sunnah.com