(12) باب مَنْ أَعْتَقَ شِرْكًا لَهُ فِي عَبْدٍ
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).
Reference: Sahih Muslim 1501 g
In-book reference: Book 27, Hadith 77
USC-MSA web (English) reference(deprecated numbering scheme): Book 15, Hadith 4106