Messenger of Allah ﷺ said, "The wala is for the one who gives the silver (pays the price) and does the favor (of manumission after paying the price). (Using translation from Bukhārī 6760)
قَالَ رَسُولُ اللهِ ﷺ «الْوَلَاءُ لِمَنْ أَعْطَى الْوَرِقَ وَوَلِيَ النِّعْمَةَ»