Sahih al-Bukhari Book 49, Hadith 6
Allah's Messenger (ﷺ) said, "Whoever frees his share of a common slave and he has sufficient money to free
him completely, should let its price be estimated by a just man and give his partners the price of their
shares and manumit the slave; otherwise (i.e. if he has not sufficient money) he manumits the slave
partially."
The Prophet (ﷺ) said, "Whoever manumits a slave owned by two masters, should manumit him completely (not partially) if he is rich after having its price evaluated."
Allah's Messenger (ﷺ) said, "Whoever manumits his share of a slave, then it is essential for him to get that slave manumitted' completely as long as he has the money to do so. If he has not sufficient money to pay the price of the other shares (after the price of the slave is evaluated justly), the manumitted manumits the slave partially in proportion to his share.
`Ubaidullah narrated as above in brief.