أَخْبَرَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا زُهَيْرٌ، عَنْ الْحَسَنِ بْنِ الْحُرِّ، حَدَّثَنِي الْحَكَمُ: أَنَّ "وَلَدَ الزِّنَا لَا يَرِثُهُ الَّذِي يَدَّعِيهِ، وَلَا يَرِثُهُ الْمَوْلُودُ".
Hakam said: The person of illegitimate birth whom someone claims as his child will not be his heir, nor will the child of illegitimate birth be his heir.