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, it has already appeared at 24403.