The best slave is the one who has the most good qualities, and it is permissible to free a slave on the condition of service or the like
Linguistic explanation: The word عتق is a verbal noun from the form عَتَقَ يَعْتِقُ (daraba), and its meaning is “to become free.” The form أَعتَقَ (if’al) is used in the meaning of “to set free.”
[Al-Qamus al-Muhit: p. 1170, Al-Munjid: p. 535]
Technical definition: Removing ownership over a person in order to seek closeness to Allah. This act is recommended, but it is obligatory in expiations.
[Subul al-Salam: 4/1953]
The virtue of freeing a slave:
Abu Hurayrah (may Allah be pleased with him) narrated that the Messenger of Allah ﷺ said:
من أعتق رقبة مسلمة أعتق الله بكل عضو منه عضوا من النار حتى فرجه بفرجه
“Whoever frees a Muslim slave, Allah will free from the Fire every limb of his for every limb of that slave, even his private part for the slave’s private part.”
[Bukhari: 2517, Kitab al-Itq: Chapter on freeing slaves and its virtue, Muslim: 1509]
Probably for this reason, the Messenger of Allah ﷺ freed sixty-three (63) slaves, Aisha (may Allah be pleased with her) sixty-seven (67), Abbas (may Allah be pleased with them both) seventy (70), Uthman (may Allah be pleased with him) twenty (20) during the siege, Hakim bin Hizam (may Allah be pleased with him) one hundred (100), Ibn Umar (may Allah be pleased with them both) one thousand (1,000), Dhul-Kala’ al-Himyari (may Allah be pleased with him) eight thousand (8,000) in one day, and Abd al-Rahman bin Awf (may Allah be pleased with him) thirty thousand (30,000).
[Subul al-Salam: 4/1955]
Abu Dharr (may Allah be pleased with him) narrated that he asked the Messenger of Allah ﷺ, “Which slave is the best?” He ﷺ said:
أنفسها عند أهلها وأكثرها ثمنا
“The one with the most abilities among his people and the most valuable.”
[Bukhari: 2518, Kitab al-Itq: Chapter on which slaves are best, Muslim: 84]
Safinah Abu Abd al-Rahman (may Allah be pleased with him) said that Umm Salamah (may Allah be pleased with her) set the following condition when she freed me:
وشرطت على أن أخدم النبى صلى الله عليه وسلم ما عاش
“That I serve the Prophet ﷺ for as long as he lives.”
[Hasan: Irwa al-Ghalil: 1752, Abu Dawud: 3932, Kitab al-Itq: Chapter on freeing on a condition, Nasa’i: 3778, Ibn Majah: 252, Ahmad: 5/221, Hakim: 2/213]