(2) باب مَا يَجُوزُ مِنْ شُرُوطِ الْمُكَاتَبِ، وَمَنِ اشْتَرَطَ شَرْطًا لَيْسَ فِي كِتَابِ اللَّهِ
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." (IT)
Reference (IT): Sahih al-Bukhari 2562 (IT)
In-book reference (IT): Book 50, Hadith 3 (IT)
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 46, Hadith 736 (IT)