The Prophet (ﷺ) said, "Whoever manumits a slave owned by two masters, should manumit him…

Sahih al-Bukhari Book 49 Hadith 5

Sahih al-Bukhari #2521

Manumission of Slaves 49:5

Narrated Ibn `Umar:

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

Chapter: If one manumits a male slave owned by two persons

Grade: Sahih