The Book of Oaths (Kitab Al-Aiman)
Muslim :: Book 15 : Hadith 4108
Abu Huraira reported Allah's Apostle (may peace be upon him) as saying: In case the slave is owned by two persons, and one of them emancipates him, he will guarantee (his full freedom).