Abu Hurairah reported,

The Prophet ﷺ spoke about a slave jointly owned by two men, one of whom frees his share. He said that the man is liable for compensation, and he said, "Whoever frees a portion of a slave, that slave is free at his expense."

Muslim 4332

Sahih

و حدثناه عبيد الله بن معاذ حدثنا أبي حدثنا شعبة بهذا الإسناد قال من أعتق شقيصا من مملوك فهو حر من ماله

مسلم 4332صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Oaths
Chapter
Whoever frees his share in a slave
Numbering
Darussalam 4332
Muslim 4332