Urwah bin al-Zubayr and Sulayman bin Yasar were asked about the son of a woman who underwent li'an and the son born of fornication: who inherits from him? They both said: His mother inherits her due share from him, and his maternal half-brothers their due shares; and the rest of his wealth is inherited by his mother's mawali (former masters) if she was a freed slave woman. If she was an Arab (freeborn) woman, she inherits her share, his maternal half-brothers inherit their shares, and the Muslims inherit the rest of his wealth.
Imam Malik (may Allah have mercy on him) said: That is the position among us, and it is what I found the people of knowledge in our city upon.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الفرائض / 12496