«أيما رجل عاهر بحرة أو أمة فالولد ولد زنا لا يرث ولا يورث»
The Prophet (peace and blessings be upon him) said:
"Any man who commits fornication with a free woman or a slave woman, the child born of it will be called a child of fornication (walad al-zina); he will neither inherit (from anyone) nor will anyone inherit from him."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 2723