Abu Dharr reported,

I asked the Prophet ﷺ, "Which deed is best?"He said, "Belief in Allah and striving in His path."I asked, "Which slave is best to free?"He said, "The one most valuable in price and most prized by his owners."I said, "What if I cannot do that?"He said, "Then help a craftsman or work for someone unskilled."I said, "What if I cannot do that either?"He said, "Then spare people from your harm, for that is a charity you give to yourself."

Azami 226

Sahih

عن أبي ذر، قال

سألت النبي ﷺ أي العمل أفضل؟ قال: إيمان بالله، وجهاد في سبيله قلت: فأي الرقاب أفضل؟ قال: أغلاها ثمنا، وأنفسها عند أهلها. قلت: فإن لم أفعل؟ قال: تعين صانعا، أو تصنع لأخرق قال: فإن لم أفعل: تدع الناس من الشر، فإنها صدقة، تصدق بها على نفسك.

الأعظمي 226صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Faith in Allah, the Most High, is among the best of deeds
Numbering
Jami al-Kamil 226 (2nd edition)
Azami 226