Al-Kāfi - Volume 1 > Something said about a man and it is not in him but is found in his sons or grand sons than it is as if it is in him
Hadith #2

2ـ مُحَمَّدُ بْنُ إِسْمَاعِيلَ عَنِ الْفَضْلِ بْنِ شَاذَانَ عَنْ حَمَّادِ بْنِ عِيسَى عَنْ إِبْرَاهِيمَ بْنِ عُمَرَ الْيَمَانِيِّ عَنْ أَبِي عَبْدِ الله (عَلَيْهِ السَّلام) قَالَ إِذَا قُلْنَا فِي رَجُلٍ قَوْلاً فَلَمْ يَكُنْ فِيهِ وَكَانَ فِي وَلَدِهِ أَوْ وَلَدِ وَلَدِهِ فَلا تُنْكِرُوا ذَلِكَ فَإِنَّ الله تَعَالَى يَفْعَلُ مَا يَشَاءُ.

2. Muhammad ibn ’Isma‘il has narrated from al-Fadl ibn Shadhan from Hammad ibn ‘Isa from Ibrahim ibn ‘Umar al-Yamani from abu ‘Abdallah (a.s.) who has said the following. “If we would say something about a man and it would not be found in him but it would be found in his sons or his grandsons you must not reject it. It is because Allah does what he wants.”