Abu Dharr reported,

Some of the companions of the Prophet ﷺ said to him, "Messenger of Allah, the people of wealth have taken away the rewards. They pray as we pray, they fast as we fast, and they give in charity from their surplus wealth."He replied, "Has not Allah given you things by which you too can give charity? Every glorification of Allah is a charity, every declaration of His greatness is a charity, every praise of Him is a charity, every declaration of His oneness is a charity, enjoining good is a charity, forbidding evil is a charity, and in the intimate relations of any one of you there is a charity."They asked, "Messenger of Allah, does one of us fulfill his desire and receive a reward for it?"He answered, "Tell me, if he were to satisfy it unlawfully, would he not bear a sin for it? In the same way, when he satisfies it lawfully, he earns a reward."

Azami 10810

Sahih

عن أبي ذر

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

الأعظمي 10810صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications
Section
Most beloved speech to Allah is four, "Glory be to Allah, praise be to Allah, there is no god but Allah, and Allah is the greatest"
Numbering
Jami al-Kamil 10810 (2nd edition)
Azami 10810