Sahih Bukhari
Manumission of Slaves
Volume: 003 / Book Number: 046 / Hadith Number: 736
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 Apostle said (to 'Aisha), "What they stipulate should not stop you, for the Wala' is for the liberator."