Ayesha reported,

There were three rulings concerning Barirah. Her owners wanted to sell her on the condition that they retain her right of patronage. Aisha mentioned this to the Prophet ﷺ, who said, "Buy her and set her free, for the right of patronage belongs to the one who frees the slave."Aisha said, "She was freed, and the Messenger of Allah ﷺ gave her the choice regarding her marriage, and she chose herself."Aisha continued, "People used to give her charity, and she would give us gifts from it. I mentioned this to the Prophet ﷺ, and he said, 'It is charity for her and a gift to you, so eat it.'"

Azami 6147

Sahih

عن عائشة قالت

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

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