Sayyiduna Abu Dharr (may Allah be pleased with him) says: I asked the Messenger of Allah (peace and blessings be upon him): Which deed is best? He (peace and blessings be upon him) said: "Faith in Allah and jihad in the path of Allah." I asked: Which slave (to free) is best? He (peace and blessings be upon him) said: "The one whose price is highest and who is most cherished by his owners." The narrator says: (I said:) What if I cannot do this? He (peace and blessings be upon him) said: "Help a craftsman, or make something for one who is unskilled." I said: What if I cannot do this? He (peace and blessings be upon him) said: "Keep people safe from your evil, for that is charity you give upon yourself."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19081