The Prophet (peace be upon him) recognized the importance of looking after the environment. He taught that human beings were God’s agents on Earth and it was their duty to protect it.
On one occasion, he (peace be upon him) said:
“The world is green and beautiful, and God has appointed you his guardian over it.” (Sahih Muslim)
He encouraged the believers to plant trees and regarded it a sin to destroy it without an acceptable reason.
He (peace be upon him) said:
“There is none amongst the believers who plants a tree, or sows a seed, and then a bird, or a person, or an animal eats from it, except that it is regarded as having given a charitable gift (for which he can expect God’s Pleasure and Reward).” (Sahih Al-Bukhari)
Keeping the earth green, productive and of benefit to humans and animals is a most noble concern according to Islam.
We learn from the Prophet (peace be upon him) that:
The sowing of plants is such a righteous action in the Sight of Allah, that it is encouraged, even if it were a person’s final act on Earth.
The Prophet (peace be upon him) said:
“Even when the Day of Judgment comes (upon you), if any one has a seed in his hand, he should plant it.” (Ahmad)
The Prophet (peace be upon him) considered all of God’s creations to be important and he believed animals, land, trees and the rest of the environment and natural resources should have rights and be protected.