Sahih Muslim
The Book of Oaths (Kitab Al-Aiman)
Book Number: 015 / Hadith Number: 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).