The Prophet ﷺ said, "If one manumits his share of a common slave (Abd), and he has money sufficient to free the remaining portion of the price of the slave (justly estimated), then he should free the slave completely by paying the rest of his price; otherwise the slave is freed partly. " (Using translation from Bukhārī 2553)
قَالَ رَسُولُ اللهِ ﷺ مَنْ أَعْتَقَ نَصِيبًا فِي عَبْدٍ فَكَانَ لَهُ مِنَ الْمَالِ قَدْرُ مَا يَبْلُغُ قِيمَتَهُ قُوِّمَ عَلَيْهِ قِيمَةَ عَدْلٍ وَإِلَّا فَقَدْ عَتَقَ مِنْهُ مَا عَتَقَ