Ayesha reported,

I asked the Messenger of Allah ﷺ about Barirah, as I wanted to buy her, but her owners stipulated that the right of guardianship would remain with them. He said, "Buy her, for the right of guardianship belongs to the one who frees the slave."He said, She was given the choice, and her husband was a slave. Then he said afterwards, "I do not know."Some meat was brought to the Messenger of Allah ﷺ, and they said, "This is from what was given in charity to Barirah."He said, "It is charity for her and a gift for us."

Nasai 3484

Sahih

أخبرنا محمد بن إسمعيل بن إبراهيم قال حدثنا يحيى بن أبي بكير الكرماني قال حدثنا شعبة عن عبد الرحمن بن القاسم عن أبيه عن عائشة قال وكان وصي أبيه قال وفرقت أن أقول سمعته من أبيك

قالت عائشة

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

النسائي 3484صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Divorce
Chapter
Choice of a slave woman who is freed while her husband is a slave
Numbering
Darussalam 3484
Nasai 3484