Abu Hurairah reported,

Ayesha wanted to buy a slave-girl in order to free her, but her owners refused unless the right of guardianship would remain with them. She 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 5859

Sahih

عن أبي هريرة قال

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

الأعظمي 5859صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Prohibited sales
Section
One who stipulates a condition not in the Book of Allah, the sale is valid and the condition is void
Numbering
Jami al-Kamil 5859 (2nd edition)
Azami 5859