She wanted to buy Barira with a view to emancipating her. They (the sellers) laid down the condition that the right of inheritance would vest (with them). She (Hadrat 'A'isha) made a mention of that to Messenger of Allah ﷺ, whereupon he said: Buy her and emancipate her for the right of inheritance vests with one who emancipates. Messenger of Allah ﷺ was given meat as gift. They (his Companions) said to Allah's Apostle ﷺ: This was given as charity to Barira, whereupon he said: That is charity for her but gift for us. And she was given option (to retain her matrimonial alliance or to break it). Abd al-Rahman said: Her husband was a free man. Shu'ba said: I then asked him (one of the narrators) about Barira's husband (whether he had been a free mart or a slave), whereupon he said: I do not know. (Using translation from Muslim 1504h)
أَنْ تَشْتَرِيَ بَرِيرَةَ لِلْعِتْقِ فَاشْتَرَطُوا وَلَاءَهَا فَذَكَرَتْ لِرَسُولِ اللهِ ﷺ فَقَالَ اشْتَرِيهَا وَأَعْتِقِيهَا فَإِنَّ الْوَلَاءَ لِمَنْ أَعْتَقَ وَأُهْدِيَ لِرَسُولِ اللهِ ﷺ لَحْمٌ فَقَالُوا لِلنَّبِيِّ ﷺ هَذَا مَا تُصُدِّقَ بِهِ عَلَى بَرِيرَةَ فَقَالَ هُوَ لَهَا صَدَقَةٌ وَهُوَ لَنَا هَدِيَّةٌ وَخُيِّرَتْ فَقَالَ عَبْدُ الرَّحْمَنِ وَكَانَ زَوْجُهَا حُرًّا قَالَ شُعْبَةُ ثُمَّ سَأَلْتُهُ عَنْ زَوْجِهَا؟ فَقَالَ لَا أَدْرِي