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

It was narrated that 'Aishah said: "Three judgments were established because of Barirah. Her masters wanted to sell her but they stipulated that Al-Wala should still be to them. I 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.' She was set free and the Messenger of Allah gave her the choice, and she chose herself. And she used to be given charity and she would give some of it as a gift to us. I mentioned that to the Prophet and he said: 'Eat it for it is charity for her and a gift for us.'" Translation Not Available

Book Ref: Sunan An Nisai Book 27 Hadith 3448
Web Ref:  Sunan An Nisai Vol 4 Book 27 Hadith 3478