Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:21330Abū ʿAmr al-Adīb > Abū Bakr al-Ismāʿīlī > Hārūn b. Yūsuf > Muḥammad b. Yaḥyá b. Abū ʿUmar > Sufyān > ʿAmr > Sālim from his father

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)   

البيهقي:٢١٣٣٠أَخْبَرَنَا أَبُو عَمْرٍو الْأَدِيبُ أنبأ أَبُو بَكْرٍ الْإِسْمَاعِيلِيُّ ثنا هَارُونُ بْنُ يُوسُفَ ثنا مُحَمَّدُ بْنُ يَحْيَى بْنِ أَبِي عُمَرَ ثنا سُفْيَانُ عَنْ عَمْرٍو عَنْ سَالِمٍ عَنْ أَبِيهِ

أَنَّ النَّبِيَّ ﷺ قَالَ مَنْ أَعْتَقَ عَبْدًا بَيْنَهُ وَبَيْنَ آخَرَ قُوِّمَ عَلَيْهِ فِي مَالِهِ قِيمَةَ عَدْلٍ لَا وَكْسَ وَلَا شَطَطَ وَعَتَقَ عَلَيْهِ فِي مَالِهِ إِنْ كَانَ مُوسِرًا  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنِ ابْنِ أَبِي عُمَرَ

See similar narrations below:

Collected by Muslim
muslim:1501gʿAmr al-Nāqid And Ibn Abū ʿUmar > Ibn ʿUyaynah > Ibn Abū ʿUmar > Sufyān b. ʿUyaynah > ʿAmr > Sālim b. ʿAbdullāh from his father

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).  

مسلم:١٥٠١gوَحَدَّثَنَا عَمْرٌو النَّاقِدُ وَابْنُ أَبِي عُمَرَ كِلاَهُمَا عَنِ ابْنِ عُيَيْنَةَ قَالَ ابْنُ أَبِي عُمَرَ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ عَنْ عَمْرٍو عَنْ سَالِمِ بْنِ عَبْدِ اللَّهِ عَنْ أَبِيهِ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ مَنْ أَعْتَقَ عَبْدًا بَيْنَهُ وَبَيْنَ آخَرَ قُوِّمَ عَلَيْهِ فِي مَالِهِ قِيمَةَ عَدْلٍ لاَ وَكْسَ وَلاَ شَطَطَ ثُمَّ عَتَقَ عَلَيْهِ فِي مَالِهِ إِنْ كَانَ مُوسِرًا