"Buy her and set her free, for Al-Wala' is to the one who sets the slave free." Some meat was brought and it was said: "This is some of that which was given in charity to Barirah." He said: "It is charity for her and a gift for us." And the Messenger of Allah gave her the choice, and her husband was a free man. (Using translation from Nasāʾī 3450)
أَنْ تَشْتَرِيَ بَرِيرَةَ فَاشْتَرَطُوا وَلَاءَهَا فَذَكَرْتُ ذَلِكَ لِلنَّبِيِّ ﷺ فَقَالَ «اشْتَرِيهَا فَأَعْتِقِيهَا فَإِنَّ الْوَلَاءَ لِمَنْ أَعْتَقَ» وَأُتِيَ بِلَحْمٍ فَقِيلَ إِنَّ هَذَا مِمَّا تُصُدِّقَ بِهِ عَلَى بَرِيرَةَ فَقَالَ «هُوَ لَهَا صَدَقَةٌ وَلَنَا هَدِيَّةٌ» وَخَيَّرَهَا رَسُولُ اللهِ ﷺ وَكَانَ زَوْجُهَا حُرًّا