Hadithcore
Riyad as-Salihin, 141

Abu Musa Al-Ash'ari (May Allah be pleased with him) reported:

The Prophet (ﷺ) said, "Giving in charity is an obligation upon every Muslim". It was said (to him): "What about one who does not find (the means) to do so?" He (ﷺ) said, "Let him work with his hands, thus doing benefit to himself and give in charity." It was said to him: "What if he does not have (the means) to do so?" He (ﷺ) said, "Then let him assist the needy, the aggrieved." It was said: "What about if he cannot even do this?" He (ﷺ) said, "Then he should enjoin good." He was asked: "What if he cannot do that?" He (the Prophet (ﷺ)) said, "He should then abstain from evil, for verily, that is a charity from him". <b>[Al-Bukhari and Muslim]</b>.

الخامس والعشرون‏:‏ عن أبي موس رضي الله عنه ، عن النبي صلى الله عليه وسلم قال‏:‏ ‏"‏على كل مسلم صدقة‏"‏ قال ‏:‏ أرأيت إن لم يجد‏؟‏ قال‏:‏ أرأيت إن لم يستطع‏؟‏ قال‏:‏ ‏"‏يعين ذا الحاجة الملهوف‏"‏ قال‏:‏ أرأيت إن لم يستطع‏؟‏ قال‏:‏ ‏"‏يأمر بالمعروف أو الخير‏"‏ قال ‏:‏ أرأيت إن لم يفعل‏؟‏ قال‏:‏ يمسك عن الشر فإنها صدقة‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 141
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) Every deed that benefits oneself or others is an encouraged act of goodness.<br> 2) Refraining from doing evil is a form of charity, which reflects the diversity of good deeds.<br> 3) The greater the benefit extending beyond limited individuals, the greater the reward and the effect.
Related hadiths3
Compare isnād across 3 related chains →