Ayesha reported,

Aishah said, "I bought Barirah, but her owners stipulated that the right of guardianship would remain with them. I mentioned this to the Prophet ﷺ, and he said, 'Free her, for the right of guardianship belongs to the one who pays the price.' So I freed her."The Prophet ﷺ then called Barirah and gave her the choice regarding her husband. She said, "Even if he gave me such and such, I would not stay with him." So she chose herself.

Azami 6151

Sahih

عن عائشة قالت

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

الأعظمي 6151صحيح
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 6151 (2nd edition)
Azami 6151