Sahih al-Bukhari 6759
Sahih al-Bukhari · Book 85: Laws of Inheritance (Al-Faraa'id) · What a woman can inherit of the Wala’ (in the book it is given women)
Narrated Ibn `Umar:
حَدَّثَنَا حَفْصُ بْنُ عُمَرَ ، حَدَّثَنَا هَمَّامٌ ، عَنْ نَافِعٍ ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ أَرَادَتْ عَائِشَةُ أَنْ تَشْتَرِيَ بَرِيرَةَ فَقَالَتْ لِلنَّبِيِّ صلى الله عليه وسلم إِنَّهُمْ يَشْتَرِطُونَ الْوَلاَءَ. فَقَالَ النَّبِيُّ صلى الله عليه وسلم " اشْتَرِيهَا، فَإِنَّمَا الْوَلاَءُ لِمَنْ أَعْتَقَ " .
When Aisha intended to buy Barira, she said to the Prophet, "Barira's masters stipulated that they will have the Wala." The Prophet (ﷺ) said (to Aisha), "Buy her, as the Wala is for the one who manumits."