Ayesha reported,

There were three legal rulings established through Barirah's case.Her owners wanted to sell her on the condition that they retain her right of guardianship. Aishah mentioned this to the Prophet ﷺ, and he said, "Buy her and free her, for the right of guardianship belongs only to the one who frees the slave."So Aishah bought her and freed her. Then the Messenger of Allah ﷺ gave Barirah the choice regarding her marriage, and she chose herself.People used to give her charity, and she would in turn give some of it to us as a gift. Aishah mentioned this to the Prophet ﷺ, and he said, "Eat it, for it is charity to her and a gift to us."

Nasai 3478

Sahih

أخبرني محمد بن آدم قال حدثنا أبو معاوية عن هشام عن عبد الرحمن بن القاسم عن أبيه

عن عائشة قالت

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

النسائي 3478صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Divorce
Chapter
Slave woman's option
Numbering
Darussalam 3478
Nasai 3478