Sahih Bukhari – Hadith No : 6845

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.”

Hadith In Arabic Text :

حدثنا حفص بن عمر، حدثنا همام، عن نافع، عن ابن عمر رضى الله عنهما قال أرادت عائشة أن تشتري بريرة فقالت للنبي صلى الله عليه وسلم إنهم يشترطون الولاء‏.‏ فقال النبي صلى الله عليه وسلم ‏”‏ اشتريها، فإنما الولاء لمن أعتق ‏”‏‏.‏

Chapter : Laws of Inheritance (Al-Faraa’id) – كتاب الفرائض