وَعَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ
أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «أَيُّمَا رَجُلٍ عَاهَرَ بِحُرَّةٍ أَوْ أَمَةٍ فَالْوَلَد ولد زنى لَا يَرث وَلَا يُورث»
Amr ibn Shuaib, on his father’s authority, said his grandfather reported the Prophet (sallallahu alayhi wa sallam) as saying, “If a man commits fornication with a freewoman or a slave woman the child is the product of fornication, and neither does he inherit nor may anyone inherit from him.”