(115) بَابُ إِنَّ كُلَّ مَعْرُوفٍ صَدَقَةٌ
Abu Musa reported that the Prophet, may Allah bless him and granthim peace, said, "Every Muslim must give sadaqa." They said, "And if hedoes not find anything (to give)?" He replied, "Then he should work hishands, benefit himself and then give sadaqa." They asked, "And if he isunable to or does not do it?" He replied, "Then he should help someonewith a great need." They said, "And if he does not do it?" He replied,"Then he should command the good or command the correct." They said, "Andif he does not do that?" They said, "He should refrain from evil. Thatis sadaqa for him."
Reference: Al-Adab Al-Mufrad 225
In-book reference: Book 11, Hadith 5
English translation: Book 11, Hadith 225