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 (Using translation from Abū Dāʾūd 1690)
عَنْ مَيْمُونَةَ زَوْجِ النَّبِيِّ ﷺ قَالَتْ كَانَتْ لِي جَارِيَةٌ فَأَعْتَقْتُهَا فَدَخَلَ عَلَيَّ رَسُولُ اللَّهِ ﷺ فَقَالَ «آجَرَكِ اللَّهُ أَمَا إِنَّكِ لَوْ كُنْتِ أَعْطَيْتِيهَا أَخْوَالَكِ كَانَ أَعْظَمَ لِأَجْرِكِ»