Sahih al-Bukhari, Book 49, Hadith 19 (Bukhari 2435)

Narrated Ibn `Umar:

Allah's Messenger (ﷺ) forbade the selling or donating the Wala' of a freed slave.