Sunan Abi Dawud, Book 31, Hadith 12 (Abu Dawud 3938)

Abu Hurairah reported the Prophet (ﷺ) as saying:

If anyone emancipates a share in his slave, he should completely emancipate him if he has money; but if he has none, then slave will be required to work (to pay for his freedom), but he must not be overburdened.