Hadith 3383

وَعَنْ أَبِي ذَرٍّ قَالَ: سَأَلْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: أَيُّ الْعَمَلِ أَفْضَلُ؟ قَالَ: «إِيمَانٌ بِاللَّهِ وَجِهَادٌ فِي سَبِيلِهِ» قَالَ: قُلْتُ: فَأَيُّ الرِّقَابِ أَفْضَلُ؟ قَالَ: «أَغْلَاهَا ثَمَنًا وَأَنْفَسُهَا عِنْدَ أَهْلِهَا» . قُلْتُ: فَإِنْ لَمْ أَفْعَلْ؟ قَالَ: «تُعِينُ صَانِعًا أَوْ تَصْنَعُ لِأَخْرَقَ» . قُلْتُ: فَإِنْ لَمْ أَفْعَلْ؟ قَالَ: «تَدَعُ النَّاسَ مِنَ الشَّرِّ فَإِنَّهَا صَدَقَةٌ تَصَدَّقُ بهَا على نَفسك»
Abu Dharr said he asked the Prophet what action was most excellent, and he replied, "Faith in God and jihad in His path." He then asked which slaves were most excellent 1 and he replied. “Those whose price is highest and who are held in most esteem by their people." He asked what he should do if unable to act accordingly 2 and he replied, "You should assist a workman, or work for one who is unskilled." He asked what he should do if unable to act accordingly and he replied, "Do no harm to others 3 for that is sadaqa you bestow on yourself." Bukhari and Muslim. 1. i.e. for the purpose of emancipating them. 2. The Arabic is fa-in lam af'al which is somewhat vague. It most probably means he is asking what he should do if unable to emancipate a slave of such quality. 3. This is an accepted meaning of the Arabic tada'u ‘un-nas min ash-sharr. Another possible meaning is to leave people alone because of their evil.
Hadith Reference Mishkat al-Masabih / The Book of Emancipation / Hadith: 3383
Hadith Grading الألبانی: مُتَّفَقٌ عَلَيْهِ  |  زبیر علی زئی: متفق عليه
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (2518) و مسلم (84/136)»