From Sahih Muslim (Hadith 3772):
Abu Huraira (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:The slave who is jointly owned by two persons, and is emancipated by one of them, (this one) has liability (upon him to secure complete freedom for that slave)
Reference: Muslim 3772