The Messenger of Allah ﷺ said, "The right of guardianship belongs to the one who freed the slave."
حدثنا معاوية بن هشام قال حدثنا سفيان عن ربيعة عن القاسم
قال رسول الله ﷺ الولاء لمن أعتق
No references are available.
Its isnad is sahih, mentioned previously at 24720.