Sunan Abi Dawud, Hadith 2863

Narrated Ibn 'Abbas: The Qur'anic verse goes: "(It is prescribed when death approaches any of you), if he leaves any goods, that he may bequest to parents and next to kin." The bequest was made in this way until the verse of inheritance repealed it.

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

sunnah.com

also referenced under: Hadith 2869 (DarusSalam)