حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، قَالَ: حَدَّثَنَا هُشَيْمٌ، عَنْ مُغِيرَةَ، عَنْ شِبَاكٍ، عَنْ إِبْرَاهِيمَ، قَالَ: "لَا يَرِثُ وَلَدُ الزِّنَا، إنما يرث من لم يقم على أبيه الحد، أو تملك أمه بنكاح 3، أو شراء".
Ibrahim, may Allah have mercy on him, said: The child of adultery (illegitimate) will not be an heir; the heir will be the one upon whose father the legal punishment has not been carried out, or the one whose mother is possessed (by his father) through marriage or purchase.