Sahih al-Bukhari, Hadith 1493

Narrated Al-Aswad: `Aisha intended to buy Barira (a slave-girl) in order to manumit her and her masters intended to put the condition that her Al-wala would be for them. `Aisha mentioned that to the Prophet who said to her, "Buy her, as the "Wala" is for the manumitted." Once some meat was presented to the Prophet and `Aisha said to him, "This (meat) was given in charity to Barira." He said, "It is an object of charity for Barira but a gift for us."

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

sunnah.com