From the point of view of God, a… fundamental question needs to be asked, “Why did God create?” This question should be asked because humankind is not, in fact, the greatest creation. God says in the Quran:
“Indeed, the creation of the heavens and the earth is greater than the creation of mankind, but most of mankind do not realize it.” (Quran 40:57)
Creation is fundamentally the consequence of the divine attribute of being the Creator. A creator who does not create is something of a contradiction in terms. This is not to say that God needs His creation.
“…There is nothing like Him and He is hearer and seer of all.” (Quran 42:11)
Thus, the act of creation is a consequence of the divine attribute of being the Creator. God describes Himself as the Creator in a variety of verses throughout the final revelation to emphasize to humankind that everything belongs to Him alone.
“God created all things and He is the agent on which all things depend.” (Quran 39:62)
“And God created you all and whatever you do.” (Quran 37:96)
Man needs to realize that nothing takes place in this universe without the permission of God. To seek protection from evil or to seek to acquire good from any source other than God is a major mistake. Due to ignorance, many people attempt to avoid misfortune and to gain good fortune through a variety of charms and amulets, astrology, palmistry, etc. Consequently, in the Quran, God informs human beings to seek refuge in God from evil:
“Say: I seek refuge in the Lord of the dawn, from the evil of what He has created.” (Quran 113:1-2)
Allah, God Almighty, is not evil; He is good. He created a world in which evil or good can be done by beings to whom He gave this ability. However, no evil or good can take place in this world without the permission of God. This is why it is futile to turn to others besides God for help and protection.
“No calamity strikes except by God’s permission…” (Quran 64:11)
The final prophet of God, Muhammad, may the mercy and blessings of God be upon him, further elaborated on this concept, saying:
“Be aware that if the whole of mankind gathered together to do something to help you, they would only be able to do something for you which God had already written for you. Likewise, if the whole of mankind gathered together to harm you, they would only be able to do something to harm you which God had already written to happen to you.” (Al-Tirmidhi)
“If you did not commit sins and turn to God, seeking His forgiveness, He would have replaced you with another people who would sin, ask God’s forgiveness and He would forgive them.” (Saheeh Muslim)
Every one of the 114 Chapters of the final revelation, except one, begins with the prayer, “In the name of God, the Beneficent the Most Merciful.” God’s attributes of mercy and forgiveness are stressed to encourage humans not to fall into despair. No matter how great the sins of human beings may be, God can forgive them if man turns back to Him in sincere repentance. The Messenger, was quoted as saying:
“When God created the universe, He made an obligation on Himself [recorded] in a document kept by Him: ‘My mercy supersedes my wrath.’” (Saheeh Al-Bukhari)
He was also reported to have said:
“[God created] mercy with one hundred parts, one of which was sent down upon the jinn, human beings and other living beings. It is out of this one part that they love each other, show kindness to each other and even the animals treat their offspring with affection. God has reserved the remaining ninety-nine parts for His true worshippers on the Day of Resurrection.” (Saheeh Muslim)
Had God wished, He could have created mankind like angels, incapable of committing sin. However, that was not His wish, as He had already created angels. Human beings were created capable of making mistakes and when they realize their errors and seek God’s forgiveness, the divine attributes of mercy and forgiveness become manifest.
“Don’t you know that God created paradise and hell, and He created inhabitants for each?” (Abu Dawood, An-Nasai)
“If only you could see [the time] when the sinners will bow their heads before their Lord, [saying], ‘Our Lord! We have now seen and heard, so send us back and we will do righteous deeds. Verily, we now believe with certainty.’” (Quran 32:12)
However, if God were to send them back to this world having forgotten what they had seen of hell, they would again choose evil and end up in hell as before. God spoke about this in the Quran:
Source: islamreligion.com [External/non-QP]