Abu Hurairah reported,

The Prophet ﷺ said, "Whoever frees his share or portion of a slave must complete the slave's emancipation from his own wealth, if he has wealth. Otherwise, the slave is to be valued fairly, and the slave is then required to earn the remainder without being burdened beyond his capacity."Hajjaj bin Hajjaj, Abban, and Musa bin Khalaf followed him in narrating this from Qatada. Shuba narrated it in abbreviated form.

Bukhari 2527

Sahih

حدثنا مسدد حدثنا يزيد بن زريع حدثنا سعيد عن قتادة عن النضر بن أنس عن بشير بن نهيك

عن أبي هريرة رضي الله عنه

أن النبي ﷺ قال من أعتق نصيبا أو شقيصا في مملوك فخلاصه عليه في ماله إن كان له مال وإلا قوم عليه فاستسعي به غير مشقوق عليه تابعه حجاج بن حجاج وأبان وموسى بن خلف عن قتادة اختصره شعبة

البخاري 2527صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Emancipation of slaves
Chapter
If one frees a share in a slave and has no wealth, the slave is asked to work to pay for his freedom without hardship, similar to a mukatab arrangement
Numbering
Darussalam 2527
Bukhari 2527