Sahih al-Bukhari 2491
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ أَعْتَقَ شِقْصًا لَهُ مِنْ عَبْدٍ ـ أَوْ شِرْكًا أَوْ قَالَ نَصِيبًا ـ وَكَانَ لَهُ مَا يَبْلُغُ ثَمَنَهُ بِقِيمَةِ الْعَدْلِ، فَهْوَ عَتِيقٌ، وَإِلاَّ فَقَدْ عَتَقَ مِنْهُ مَا عَتَقَ "
Narrated Nafi`:
Ibn `Umar said, "Allah's Messenger (ﷺ) said, 'If one manumits his share of a jointly possessed slave, and can afford the price of the other shares according to the adequate price of the slave, the slave will be completely manumitted; otherwise he will be partially manumitted.' " (Aiyub, a sub-narrator is not sure whether the saying " ... otherwise he will be partially manumitted" was said by Nafi` or the Prophet.)
Full reference and source
Sahih al-Bukhari 2491 In-book : Book 47, Hadith 9 USC-MSA web (English) : Vol. 3, Book 44, Hadith 671 (deprecated)
View source on Sunnah.com (opens in a new tab)