I had a slave girl and I set her free. When the Prophet (ﷺ) entered upon me, I informed him (of this). He said : May Allah give reward for it; if you had given her to your maternal uncles, it would have increased your reward
Sunan Abi Dawud Book 9, Hadith 135