Abu Huraira reported God’s messenger as saying,
“A milch-camel with abundant milk given as a loan and a ewe with abundant milk given as a loan, which produces a vessel of milk in the morning and another in the evening, is good sadaqa.”
Aba Dharr reported God’s messenger as saying,
“In every ascription of glory to God, every declaration of His greatness, every utterance of praise to Him, every declaration that He is the only God, in enjoining what is reputable, in forbidding what is objectionable, and in a man’s sexual intercourse there is sadaqa.”
On being asked whether a reward would be given for satisfying one’s passion, he said,
“Tell me; if he were to devote it to something forbidden, would it not be a sin on his part? Similarly, if he were to devote it to something lawful, he would have a reward.”
Anas reported God’s messenger as saying,
“If any Muslim plants something or sows seed from which man, bird, or beast eats, it counts as sadaqa for him.”
(Bukhari and Muslim.)
In a version by Muslim from Jabir it says that what is stolen from it counts as sadaqa for him.
‘A’isha reported God’s messenger as saying,
“Everyone of the children of Adam has been created with three hundred and sixty joints, so he who declares God’s greatness, praises God, declares that He is the only God, glorifies God, asks forgiveness of God, removes a stone, a thorn, or a bone from people’s path, enjoins what is reputable, or forbids what is objectionable to the number of those three hundred and sixty, will walk that day having removed himself from hell.”