Sahih Muslim 1501 g
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ أَعْتَقَ عَبْدًا بَيْنَهُ وَبَيْنَ آخَرَ قُوِّمَ عَلَيْهِ فِي مَالِهِ قِيمَةَ عَدْلٍ لاَ وَكْسَ وَلاَ شَطَطَ ثُمَّ عَتَقَ عَلَيْهِ فِي مَالِهِ إِنْ كَانَ مُوسِرًا "
Salim b. 'Abdullah reported on the authority of his father that Allah's Apostle (ﷺ) said:
He who emancipates a slave (shared) by him and another one, his full price may be justly assessed from his wealth, neither less nor more, and he (the slave) would be emancipated if he (the partner) would be solvent enough (to forgo the amount of his share).
Full reference and source
Sahih Muslim 1501 g In-book : Book 27, Hadith 77 USC-MSA web (English) : Book 15, Hadith 4106 (deprecated)
View source on Sunnah.com (opens in a new tab)