It is narrated from Sayyiduna Abu Sa'id al-A'sha (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) gave this ruling concerning a slave who accepts Islam and then his master also comes (having become Muslim): "He (the master) has the greater right to him."
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الجهاد / 2058
Hadith Gradingمحدثین:إسناده ضعيف، مرسل
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناد الحارث ضعيف، مرسل، فيه أبو سعيد الأعشى لم أعرف من هو، ولعلّه تصحّف من أبي سعيد الأعسم، وهو مجهول أيضًا كما في ترجمته. » «انفرد به المصنف من هذا الطريق»