Ibrahim (may Allah have mercy on him) was asked about a person who freed a slave for the sake of Allah, then that slave went and established allegiance (wala’) with someone else. He replied: “This is not permissible, unless the emancipator himself gifts him (to someone else).”
Hadith Referenceسنن سعید بن منصور / كتاب ولاية العصبة / 1459
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 282، وابن أبى شيبة فى «مصنفه» برقم: 20850، 32275»