أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ، عَنْ عَبْدِ الرَّحْمَنِ، قَالَ حَدَّثَنَا شُعْبَةُ، عَنِ الْحَكَمِ، عَنْ إِبْرَاهِيمَ، عَنِ الأَسْوَدِ، عَنْ عَائِشَةَ، أَنَّهَا أَرَادَتْ أَنْ تَشْتَرِيَ، بَرِيرَةَ فَاشْتَرَطُوا وَلاَءَهَا فَذَكَرْتُ ذَلِكَ لِلنَّبِيِّ صلى الله عليه وسلم فَقَالَ ‏"‏ اشْتَرِيهَا وَأَعْتِقِيهَا فَإِنَّ الْوَلاَءَ لِمَنْ أَعْتَقَ ‏"‏ ‏.‏ وَأُتِيَ بِلَحْمٍ فَقِيلَ إِنَّ هَذَا مِمَّا تُصُدِّقَ بِهِ عَلَى بَرِيرَةَ ‏.‏ فَقَالَ ‏"‏ هُوَ لَهَا صَدَقَةٌ وَلَنَا هَدِيَّةٌ ‏"‏ ‏.‏ وَخَيَّرَهَا رَسُولُ اللَّهِ صلى الله عليه وسلم وَكَانَ زَوْجُهَا حُرًّا ‏.‏

It was narrated from 'Aishah that she wanted to buy Barirah, but her masters stipulated that her Wala' should go to them. She mentioned that to the Prophet and he said: "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. Translation Not Available

Book Ref: Sunan An Nisai Book 27 Hadith 3450
Web Ref:  Sunan An Nisai Vol 4 Book 27 Hadith 3480