"Any man who fornicates with a free woman, or a slave woman, then the child born from Zina does not inherit, nor is it inherited from."
Jami` at-Tirmidhi Book 29, Hadith 24