Malik related to me from Nafi that Abdullah ibn Umar freed an illegitimate child and its mother.

Muwatta Malik Book 38, Hadith 17