Muwatta Imam Malik Book of Setting Free and Wala', Hadith 16
Malik related to me from Nafi that Abdullah ibn Umar freed an illegitimate child and its mother.
وَحَدَّثَنِي مَالِكٌ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّهُ أَعْتَقَ وَلَدَ زِنًا وَأُمَّهُ .