The Quran and the teachings of the Prophet(peace be upon him) has given mankind awareness on how to treat the environment.
In the Qur’an, Muslims are instructed to look after the environment and not to damage it:
Devote thyself single-mindedly to the Faith, and thus follow the nature designed by Allah, the nature according to which He has fashioned mankind. There is no altering the creation of Allah.
In another part of the Quran, Allah says
He it is Who spread out the earth and made therein firmly fixed mountains and rivers, and of fruits of every kind He has made pairs. He causes the night to cover the day. In all this, verily, are signs doer a people who reflect.
From these it is clear that mankind is ordered to co-live with the nature and he should not alter the environment that Allah created.
From another teaching of the Prophet (peace be upon him), we can understand the importance of the nature and the environment around us. It enlightens us on the reward that Allah would give people for their love and care towards nature and other life forms on earth. It is quoted below.
The Earth is green and beautiful, and Allah has appointed you his stewards over it. The whole earth has been created a place of worship, pure and clean. Whoever plants a tree and diligently looks after it until it matures and bears fruit is rewarded. If a Muslim plants a tree or sows a field and humans and beasts and birds eat from it, all of it is love on his part.