Hadithcore
Jami` at-Tirmidhi, 2113
hasan· Darussalam

Amr bin Shu'aib narrated from his father, from his grandfather, that the Messenger of Allah(ﷺ) said:

"Any man who fornicates with a free woman, or a slave woman, then the child born from Zina does not inherit, nor is it inherited from."

حَدَّثَنَا قُتَيْبَةُ، قال حَدَّثَنَا ابْنُ لَهِيعَةَ، عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏

‏ أَيُّمَا رَجُلٍ عَاهَرَ بِحُرَّةٍ أَوْ أَمَةٍ فَالْوَلَدُ وَلَدُ زِنَا لاَ يَرِثُ وَلاَ يُورَثُ ‏

‏ ‏.‏ قَالَ أَبُو عِيسَى وَقَدْ رَوَى غَيْرُ ابْنِ لَهِيعَةَ هَذَا الْحَدِيثَ عَنْ عَمْرِو بْنِ شُعَيْبٍ ‏.‏ وَالْعَمَلُ عَلَى هَذَا عِنْدَ أَهْلِ الْعِلْمِ أَنَّ وَلَدَ الزِّنَا لاَ يَرِثُ مِنْ أَبِيهِ.‏

References2 variants
In-Book Reference
Book 29, Hadith 24
English Reference
Vol. 4, Book 3, Hadith 2113