Sahih al-Bukhari 2562
Book 50: Makaatib · Narrated by `Abdullah bin `Umar
Arabic
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا مَالِكٌ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ أَرَادَتْ عَائِشَةُ أُمُّ الْمُؤْمِنِينَ أَنْ تَشْتَرِيَ جَارِيَةً لِتُعْتِقَهَا، فَقَالَ أَهْلُهَا عَلَى أَنَّ وَلاَءَهَا لَنَا. قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " لاَ يَمْنَعُكِ ذَلِكِ، فَإِنَّمَا الْوَلاَءُ لِمَنْ أَعْتَقَ ".
English translation
Narrated `Abdullah bin `Umar:Aisha wanted to buy a slave-girl in order to manumit her. The girl's masters stipulated that her Wala' would be for them. Allah's Messenger (ﷺ) said (to `Aisha), "What they stipulate should not stop you, for the Wala' is for the liberator
Reference: Sahih al-Bukhari 2562, Book of Makaatib. English translation by Dr. Muhammad Muhsin Khan.