Abu Dharr (May Allah be pleased with him) reported:
I asked the Messenger of Allah (ﷺ), "Which deed is most excellent?" He replied, "Faith in Allah and Jihad in His path." I then asked, "Which slaves are most excellent (to set free)?" He replied, "Those who are held in high esteem by their people and whose value is higher."[Al- Bukhari and Muslim].
App reference: Book 12, Hadith 75
Arabic/English book reference: Book 12, Hadith 1359