Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:2726Khalāad b. Yaḥyá > ʿAbd al-Wāḥid b. Ayman al-Makkī from his father > Dakhalt

When I visited Aisha she said, "Barirah who had a written contract for her emancipation for a certain amount came to me and said, "O mother of the believers! Buy me and manumit me, as my masters will sell me." Aisha agreed to it. Barirah said, 'My masters will sell me on the condition that my Wala will go to them." Aisha said to her, 'Then I am not in need of you.' The Prophet ﷺ heard of that or was told about it and so he asked Aisha, 'What is the problem of Barirah?' He said, 'Buy her and manumit her, no matter what they stipulate.' Aisha added, 'I bought and manumitted her, though her masters had stipulated that her Wala would be for them.' The Prophet ﷺ said, The Wala is for the liberator, even if the other stipulated a hundred conditions."  

البخاري:٢٧٢٦حَدَّثَنَا خَلاَّدُ بْنُ يَحْيَى حَدَّثَنَا عَبْدُ الْوَاحِدِ بْنُ أَيْمَنَ الْمَكِّيُّ عَنْ أَبِيهِ قَالَ

دَخَلْتُ عَلَى عَائِشَةَ ؓ قَالَتْ دَخَلَتْ عَلَىَّ بَرِيرَةُ وَهْىَ مُكَاتَبَةٌ فَقَالَتْ يَا أُمَّ الْمُؤْمِنِينَ اشْتَرِينِي فَإِنَّ أَهْلِي يَبِيعُونِي فَأَعْتِقِينِي قَالَتْ نَعَمْ قَالَتْ إِنَّ أَهْلِي لاَ يَبِيعُونِي حَتَّى يَشْتَرِطُوا وَلاَئِي قَالَتْ لاَ حَاجَةَ لِي فِيكِ فَسَمِعَ ذَلِكَ النَّبِيُّ ﷺ أَوْ بَلَغَهُ فَقَالَ مَا شَأْنُ بَرِيرَةَ فَقَالَ اشْتَرِيهَا فَأَعْتِقِيهَا وَلْيَشْتَرِطُوا مَا شَاءُوا قَالَتْ فَاشْتَرَيْتُهَا فَأَعْتَقْتُهَا وَاشْتَرَطَ أَهْلُهَا وَلاَءَهَا فَقَالَ النَّبِيُّ ﷺ الْوَلاَءُ لِمَنْ أَعْتَقَ وَإِنِ اشْتَرَطُوا مِائَةَ شَرْطٍ