The Prophet (ﷺ) forbade the selling of the Wala' (of slaves) or giving it as a present.
Sahih al-Bukhari Book 85, Hadith 33