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.
ahmad:324ʿAbdullāh b. Zayd > Ibn Lahīʿah > ʿAmr b. Shuʿayb from his father > Jaddihiʿan ʿUmar b. al-Khaṭṭāb

I heard the Messenger of Allah ﷺ say: ʿThe loyalty (walaʿ) of a freed slave (to his former master) is passed on to the one who inherits his wealth, father or son.”  

أحمد:٣٢٤حَدَّثَنَا عَبْدُ اللهِ بْنُ زَيْدٍ حَدَّثَنَا ابْنُ لَهِيعَةَ عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِعَنْ عُمَرَ بْنِ الْخَطَّابِ قَالَ

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


See similar narrations below:

Collected by Aḥmad, Suyūṭī
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  

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

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