Sahih Muslim Book 9, Hadith Number 3578.

Chapter: Emancipating a slave.

Ibn Umar (Allah be pleased with them) reported Allah’s Messenger may peace be upon him) as saying: If anyone emancipates his share in a slave and has enough money to pay the full price for him, a fair price for the slave should be fixed, his partners given their shares, and the slave be thus emancipated, otherwise he is emancipated only to the extent of the first man’s share.