Maliks Muwatta Book 27, Hadith Number 16.
Section : The Inheritance of the Child of Lian and the Child of Fornication.
Yahya related to me from Malik that he had heard that Urwa ibn az-Zubayr said about the child of lian and the child of fornication, that if they died, the mother inherited her right from them according to the Book of Allah, the Mighty, the Majestic! The siblings by the mother had their rights. The rest was inherited by the former masters of the mother if she was a freed slave. If she was a free woman by origin, she inherited her due and the siblings by the mother inherited their due, and the rest went to the Muslims.
Malik said, “I heard the same as that from Sulayman ibn Yasar.”
Malik said, “That is what I saw the people of knowledge in our city doing.”