Muwatta Malik
Hadith #1472
Malik related to me that he had heard that al-Maqburi said that Abu Hurayra was asked whether a man who had to free a slave, could free an illegitimate child to fulfil that obligation. Abu Hurayra said, ""Yes. That will give satisfaction for him