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

Amr bin Su'aib narrated from his father, from his grandfather, that the Messenger of Allah(S.A.W) 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." Translation Not Available

Book Ref: Jamiya Tirmidhi Book 29 Hadith 2113
Web Ref:  Jamiya Tirmidhi Vol 4 Book 3 Hadith 2113