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