Al-Adab Al-Mufrad, Book 11, Hadith 7 (In-Book)

Abu Dharr reported that it was said, "Messenger of Allah, the wealthy people have taken all the rewards. They pray as we pray. They fast as we fast, but they give sadaqa from their excess wealth." He said, "Has Allah not given you something to give as sadaqa? Every time you praise or glorify Allah, that is sadaqa. There is sadaqa is sexual intercourse." He was asked, "Is there sadaqa in satisfying one's appetite?" He replied, "If he does it in a haram manner, is that not a wrong action? Similarly if he does it in a halal manner, he receives a reward."

حَدَّثَنَا أَبُو النُّعْمَانِ قَالَ‏:‏ حَدَّثَنِي مَهْدِيُّ بْنُ مَيْمُونٍ، عَنْ وَاصِلٍ مَوْلَى أَبِي عُيَيْنَةَ، عَنْ يَحْيَى بْنِ عَقِيلٍ، عَنْ يَحْيَى بْنِ يَعْمَُرَ، عَنْ أَبِي الأَسْوَدِ الدِّيلِيِّ، عَنْ أَبِي ذَرٍّ قَالَ‏:‏ قِيلَ‏:‏ يَا رَسُولَ اللهِ، ذَهَبَ أَهْلُ الدُّثُورِ بِالأُجُورِ، يُصَلُّونَ كَمَا نُصَلِّي، وَيَصُومُونَ كَمَا نَصُومُ، وَيَتَصَدَّقُونَ بِفُضُولِ أَمْوَالِهِمْ، قَالَ‏:‏ أَلَيْسَ قَدْ جَعَلَ اللَّهُ لَكُمْ مَا تَصَدَّقُونَ‏؟‏ إِنَّ بِكُلِّ تَسْبِيحَةٍ وَتَحْمِيدَةٍ صَدَقَةً، وَبُضْعُ أَحَدِكُمْ صَدَقَةٌ، قِيلَ‏:‏ فِي شَهْوَتِهِ صَدَقَةٌ‏؟‏ قَالَ‏:‏ لَوْ وُضِعَ فِي الْحَرَامِ، أَلَيْسَ كَانَ عَلَيْهِ وِزْرٌ‏؟‏ ذَلِكَ إِنْ وَضَعَهَا فِي الْحَلاَلِ كَانَ لَهُ أَجْرٌ‏.‏

sunnah.com