Narrated Maimuna, the wife of the Prophet (ﷺ) that she manumitted her slave-girl and the Prophet (ﷺ) said to her, "You would have got more reward if you had given the slave-girl to one of your maternal uncles."
Sahih al-Bukhari Book 51, Hadith 28