Sahih al-Bukhari 2717
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
ابْتَاعِي فَأَعْتِقِي، فَإِنَّمَا الْوَلاَءُ لِمَنْ أَعْتَقَ "
Narrated `Urwa:
Aisha told me that Buraira came to seek her help in writing for emancipation and at that time she had not paid any part of her price. `Aisha said to her, "Go to your masters and if they agree that I will pay your price (and free you) on condition that your Wala' will be for me, I will pay the money." Buraira told her masters about that, but they refused, and said, "If `Aisha wants to do a favor she could, but your Wala will be for us." Aisha informed Allah's Messenger (ﷺ) of that and he said to her, "Buy and manumit Buraira as the Wala' will go to the manumitted."
Full reference and source
Sahih al-Bukhari 2717 In-book : Book 54, Hadith 6 USC-MSA web (English) : Vol. 3, Book 50, Hadith 878 (deprecated)
View source on Sunnah.com (opens in a new tab)