Sunnah.com reference : Book 15, Hadith 5English translation : Book 15, Hadith 1466Arabic reference : Book 15, Hadith 1422
Ibn 'Umar (RAA) narrated that The Messenger of Allah (ﷺ) said:
“Anyone who 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 should be given their shares, and the slave should thus be emancipated. Otherwise he is emancipated only to the extent of the first man’s share.” Agreed upon,
وَعَنِ ابْنِ عُمَرَ رَضِيَ اَللَّهُ عَنْهُمَا قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ 
"مَنْ أَعْتَقَ شِرْكًا لَهُ فِي عَبْدٍ, فَكَانَ لَهُ مَالٌ يَبْلُغُ ثَمَنَ اَلْعَبْدِ, قُوِّمَ قِيمَةَ عَدْلٍ, فَأَعْطَى شُرَكَاءَهُ حِصَصَهُمْ, وَعَتَقَ عَلَيْهِ اَلْعَبْدُ, وَإِلَّا فَقَدْ عَتَقَ مِنْهُ مَا عَتَقَ" }  مُتَّفَقٌ عَلَيْه ِ  1‏ .‏‏1 ‏- صحيح.‏ رواه البخاري ( 2522 )‏، ومسلم ( 1501 )‏.‏ و" شركا" : نصيبا.‏