Sahih al-Bukhari, Book 78, Hadith 53 (In-Book) ⓘ
Narrated Abu Musa Al-Ash`ari: The Prophet said, "On every Muslim there is enjoined (a compulsory) Sadaqa (alms)." They (the people) said, "If one has nothing?' He said, "He should work with his hands so that he may benefit himself and give in charity." They said, "If he cannot work or does not work?" He said, "Then he should help the oppressed unhappy person (by word or action or both)." They said, "If he does not do it?" He said, "Then he should enjoin what is good (or said what is reasonable).' They said, "If he does not do that''' He said, "Then he should refrain from doing evil, for that will be considered for Him as a Sadaqa (charity). "
حَدَّثَنَا آدَمُ، حَدَّثَنَا شُعْبَةُ، حَدَّثَنَا سَعِيدُ بْنُ أَبِي بُرْدَةَ بْنِ أَبِي مُوسَى الأَشْعَرِيِّ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم " عَلَى كُلِّ مُسْلِمٍ صَدَقَةٌ ". قَالُوا فَإِنْ لَمْ يَجِدْ قَالَ " فَيَعْمَلُ بِيَدَيْهِ فَيَنْفَعُ نَفْسَهُ وَيَتَصَدَّقُ ". قَالُوا فَإِنْ لَمْ يَسْتَطِعْ أَوْ لَمْ يَفْعَلْ قَالَ " فَيُعِينُ ذَا الْحَاجَةِ الْمَلْهُوفَ ". قَالُوا فَإِنْ لَمْ يَفْعَلْ قَالَ " فَيَأْمُرُ بِالْخَيْرِ ". أَوْ قَالَ " بِالْمَعْرُوفِ ". قَالَ فَإِنْ لَمْ يَفْعَلْ قَالَ " فَيُمْسِكُ عَنِ الشَّرِّ، فَإِنَّهُ لَهُ صَدَقَةٌ ".
also referenced under: Hadith 6022 (DarusSalam) & Volume 8, Book 73, Hadith 51 (USC-MSA)