Abdullah bin Umar reported,

Ayesha, Umm Muiminin, wanted to buy a Jariya in order to set her free. Her owners said, "We will sell her to you on the condition that her right of guardianship remains with us."Ayesha mentioned this to the Messenger of Allah ﷺ, and he said, "Do not let that stop you, for the right of guardianship belongs only to the one who frees the slave."

Azami 6144

Sahih

عن ابن عمر

أن عائشة أم المؤمنين أرادت أن تشتري جارية تعتقها، فقال أهلها: نبيعكها على أن ولاءها لنا. فذكرت ذلك الرسول الله ﷺ، فقال: لا يمنعنك ذلك، فإنما الولاء لمن أعتق.

الأعظمي 6144صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Emancipation of slaves
Section
Authority of patronage belongs only to the one who emancipates
Numbering
Jami al-Kamil 6144 (2nd edition)
Azami 6144