Mishkat al-Masabih 1898
وَعَنْ أَبِي ذَرٍّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّ بِكُلِّ تَسْبِيحَةٍ صَدَقَةً وَكُلُّ تَكْبِيرَةٍ صَدَقَةٌ وَكُلُّ تَحْمِيدَةٍ صَدَقَةٌ وَكُلُّ تَهْلِيلَةٍ صَدَقَةٌ وَأَمْرٌ بِالْمَعْرُوفِ صَدَقَةٌ وَنَهْيٌ عَنِ الْمُنْكَرِ صَدَقَةٌ وَفِي بُضْعِ أَحَدِكُمْ صَدَقَةٌ» قَالُوا: يَا رَسُولَ اللَّهِ أَيَأْتِي أَحَدُنَا شَهْوَتَهُ وَيَكُونُ لَهُ فِيهَا أَجْرٌ؟ قَالَ: «أَرَأَيْتُمْ لَوْ وَضَعَهَا فِي حَرَامٍ أَكَانَ عَلَيْهِ فِيهِ وِزْرٌ؟ فَكَذَلِكَ إِذَا وَضَعَهَا فِي الْحَلَالِ كَانَ لَهُ أجر» . رَوَاهُ مُسلم
From Abu Dharr, who said: The Messenger of Allah ﷺ said: "In every glorification [of Allah] there is charity, every declaration of His greatness is charity, every praise is charity, every declaration that there is no god but Allah is charity, commanding good is charity, forbidding evil is charity, and in the intimacy of one of you [with his wife] there is charity." They said: "O Messenger of Allah, does one of us fulfil his desire and have a reward for it?" He said: "Tell me, if he were to put it in something unlawful, would there be a sin on him for it? Likewise, when he puts it in what is lawful, he has a reward." Reported by Muslim.