Al-Kāfi - Volume 7 > Inheritance of a Child from Fornication
Hadith #3

3- عَلِيُّ بْنُ إِبْرَاهِيمَ عَنْ مُحَمَّدِ بْنِ عِيسَى عَنْ يُونُسَ عَنْ عَلِيِّ بْنِ سَالِمٍ عَنْ يَحْيَى عَنْ أَبِي عَبْدِ اللهِ (عَلَيْهِ السَّلام) فِي رَجُلٍ وَقَعَ عَلَى وَلِيدَةٍ حَرَاماً ثُمَّ اشْتَرَاهَا فَادَّعَى ابْنَهَا قَالَ فَقَالَ لا يُوَرَّثُ مِنْهُ إِنَّ رَسُولَ اللهِ (صَلَّى اللهُ عَلَيْهِ وَآلِه) قَالَ الْوَلَدُ لِلْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ وَلا يُوَرَّثُ وَلَدَ الزِّنَا إِلا رَجُلٌ يَدَّعِي ابْنَ وَلِيدَتِهِ.

3. Ali ibn Ibrahim has narrated from Muhammad ibn ‘Isa from Yunus from Ali ibn Salim from Yahya who has narrated the following: “This is a pronouncement of abu ’Abd Allah, ‘Alayhi al-Salam, about the case of a man who falls upon the slave-girl of a people in an unlawful manner. He then buys her and claims her child. He (the Imam) has said, ’He cannot inherit from such child because the Messenger of Allah, O Allah, grant compensation to Muhammad and his family worthy of their services to Your cause, has said, “A child belongs to the bed (owner thereof) and the fornicator deserve stones (to be stoned to death as penalty with due judicial process).” A child born out of wedlock cannot be inherited or made to inherit except in the case of a man who claims the child of his slave-girl.’”