Sunan Abi Dawud, Hadith 2916

Ibn 'Abbas explained the following Qur'anic verse : "To those also, to whom your right hand was pledged, give your portion." When the Emigrants came to Medina. they inherited from the Helpers without any blood-relationship with them for the brotherhood which the Messenger of Allah established between them. When the following verse was revealed: "To (benefit) everyone we have appointed shares and heirs to property left by parent and relatives." it abrogated the verse: "To those also, to whom your right hand was pledged, give their due portion." This alliance was made for help, well wishing and cooperation. Now a legacy can be made for him. (The right to)inheritance was abolished.

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

sunnah.com

also referenced under: Hadith 2922 (DarusSalam)