Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:2114Qutaybah > Ibn Lahīʿah > ʿAmr b. Shuʿayb from his father from his grandfather

"The one who inherits the Wala is the one who inherits the wealth."  

الترمذي:٢١١٤حَدَّثَنَا قُتَيْبَةُ قال حَدَّثَنَا ابْنُ لَهِيعَةَ عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ يَرِثُ الْوَلاَءَ مَنْ يَرِثُ الْمَالَ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ لَيْسَ إِسْنَادُهُ بِالْقَوِيِّ

See similar narrations below:

Collected by Mālik, Aḥmad, Suyūṭī
malik:27-18Yaḥyá > Mālik > Ibn Shihāb > ʿAlī b. Ḥusayn b. ʿAlī > ʿUmar b. ʿUthmān b. ʿAffān > Usāmah b. Zayd

Yahya related to me from Malik from Ibn Shihab from Ali ibn Husayn ibn Ali from Umar ibn Uthman ibn Affan from Usama ibn Zayd that the Messenger of Allah ﷺ said, "A muslim does not inherit from a kafir."  

مالك:٢٧-١٨حَدَّثَنِي يَحْيَى عَنْ مَالِكٍ عَنِ ابْنِ شِهَابٍ عَنْ عَلِيِّ بْنِ حُسَيْنِ بْنِ عَلِيٍّ عَنْ عُمَرَ بْنِ عُثْمَانَ بْنِ عَفَّانَ عَنْ أُسَامَةَ بْنِ زَيْدٍ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لاَ يَرِثُ الْمُسْلِمُ الْكَافِرَ  

ahmad:147Abū Saʿīd > ʿAbdullāh b. Lahīʿah > ʿAmr b. Shuʿayb from his father > Jaddihiʿan ʿUmar

ʿNo father is to be killed in retaliatory punishment for his sonʿ And the Messenger of Allah ﷺ said: ʿThe one who inherits loyalty (wala - loyalty of a free slave) also inherits his wealth  

أحمد:١٤٧حَدَّثَنَا أَبُو سَعِيدٍ حَدَّثَنَا عَبْدُ اللهِ بْنُ لَهِيعَةَ حَدَّثَنَا عَمْرُو بْنُ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِعَنْ عُمَرَ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ لَا يُقَادُ وَالِدٌ مِنْ وَلَدٍ وَقَالَ رَسُولُ اللهِ ﷺ يَرِثُ الْمَالَ مَنْ يَرِثُ الْوَلاءَ