Musnad Ahmad 397
It was narrated from Ibn `Umar (رضي الله عنه) that the Messenger of Allah         (ﷺ) said:
“If a person frees his share of a slave, and has enough Money to pay the full price of the slave, a fair price should be worked out for the slave, and his partners should be given their shares, then he may free the slave, otherwise he has freed only what he has freed.”
حَدَّثَنَا إِسْحَاقُ بْنُ عِيسَى، أَنْبَأَنَا مَالِكٌ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ مَنْ أَعْتَقَ شِرْكًا لَهُ فِي عَبْدٍ فَكَانَ لَهُ مَا يَبْلُغُ ثَمَنَ الْعَبْدِ فَإِنَّهُ يُقَوَّمُ قِيمَةَ عَدْلٍ فَيُعْطَى شُرَكَاؤُهُ حَقَّهُمْ وَعَتَقَ عَلَيْهِ الْعَبْدَ وَإِلَّا فَقَدْ أَعْتَقَ مَا أَعْتَقَ‏.‏