From Sahih Muslim (Hadith 2317):
Maimuna bint Harith reported that she set free a slave-girl during the lifetime of the Messenger of Allah (ﷺ) and she made a mention of that to the Messenger of Allah (ﷺ) and he said:Had you gives her to your maternal uncles, you would have a greater reward
Reference: Muslim 2317