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). (Using translation from Muslim 1501g)
أَنَّ النَّبِيَّ ﷺ قَالَ مَنْ أَعْتَقَ عَبْدًا بَيْنَهُ وَبَيْنَ آخَرَ قُوِّمَ عَلَيْهِ فِي مَالِهِ قِيمَةَ عَدْلٍ لَا وَكْسَ وَلَا شَطَطَ وَعَتَقَ عَلَيْهِ فِي مَالِهِ إِنْ كَانَ مُوسِرًا