Many thinking people frequently ponder these questions. But each person may try to answer these questions in diverse ways.
Worshipping Allah, the One True Almighty God of the Universe, as a primary goal or aim in life provides a believer with everything he needs to succeed both in this life and the Hereafter.
the word for total surrender, submission, obedience, purity of heart and peace in the Arabic language is Islam. Those who try to perform these actions are called Muslims.
to a Muslim the whole purpose of life is to worship Allah, the One True Almighty God on His Terms and under His Conditions.
the term “worship” to a Muslim includes any and all acts of obedience to Almighty Allah. So his purpose of life is a standing purpose; worshipping Allah by accepting Allah’s Will over his own.
this act of `ibadah (worshipping, thanking and extolling the Greatness of Almighty Allah on His Terms and Conditions) is for the Muslim, something throughout his whole life regardless of the stage. Whether he is a child, adolescent, adult or aged person, he is seeking after the Will of the Almighty in all these stages.
his life here on earth although short, is full of purpose and is totally meaningful within the complete framework of total submission (Islam).
Similarly, in the Next Life, his faith, intentions, attitudes and good deeds will all be weighed into his account as favorable putting him in high esteem with his Creator and Sustainer.
Because Islam teaches that this life is only a test for the individual to show him his true nature, it is only natural that he will accept death as a beginning of the final and lasting life in the Hereafter rather than just an end.
Before entering into either of the final lodging places i.e.; Heaven or Hell, there must be a Day of Judgment or showing of one’s true self to and thereby understand the implications of one’s life on the earth.
every person will be rewarded (or punished) according to their attitude, appreciation and efforts during this stay on earth. No one will be asked about the actions and beliefs of others, nor will anyone be asked about what he was unaware of or incapable of doing.
as the life here is considered as an examination or test for the individual, the death stage is considered as a resting period after the test. It could be easy for those who were faithful and dedicated or it could be gruelling and horrible for the wicked.
Reward and punishment will be in direct proportion to each person and it is only Allah alone who will be the Final Judge over us all.
the line of life and its purpose is logical, clear and simple:
1- The first life is a test.
2- The life in the grave is a resting or waiting place before the Day of Judgment.
3- The Day of Judgment brings about the clear understanding of what will happen to the individual based on his own desires and actions.
4- The Permanent or Afterlife will either be spent in luxurious splendor or miserable punishment.
Following this clear understanding of life, the Muslim’s purpose is clear.
First of all, he has no doubt in his mind that:
– He is only created by Allah.
– He is going to spend a period of time in this material world.
– He knows he will die.
– He knows he will spend time in the grave, either pleasant or difficult, depending on his own choice of attitude and actions.
– He knows he will be resurrected on the Day of Judgment.
– He knows he will be judged according to the most fair of standards by Allah the Almighty.
– He knows his attitudes and actions are going to come under very close scrutiny.
– He knows that this short life compared to the Eternal Life in fact, only for a test.
this life is very meaningful and purposeful to the Muslim, as he realizes that it will determine his outcome and permanent position in the Next Life.
the purpose of life, as understood by the Muslim, can be simply stated in only two words:
Obey God.
Our only purpose and salvation lie in these two words.
We must come to know our Creator, Sustainer and Ultimate Judge. We must learn to believe in Him, thank Him, praise Him, honor Him and worship Him, alone without any partners from His Creation. We must learn about His Messengers and Prophets (peace be upon them) and the message with which they were all sent. We must learn the Word of God as it was directly revealed, preserved and memorized and passed down by memory throughout all the generations of Muslims to the present day.
those who are in search of truth, having open minds and hearts will recognize this as a message in truth and sincerity.
Open your heart and your mind now and pray to the Almighty God of the Universe to guide you now to His True Way. And then be ready to accept your true purpose in life.”

Dr. Muzammil H. Siddiqi, Director of the Islamic Society of Orange County and President of the Islamic Society of North America, states: “Indeed Allah is All-Powerful (Al-`Aziz) and He is able to do all things (`ala kull sha’in qadir). The Qur’an has mentioned this hundreds of times. It is also mentioned in the Qur’an that Allah is the Creator and He is the Best Creator. “Glory be to Allah, the best Creator.” (Al-Mu’minun: 14)
But then the question comes why do pain and sufferings exist in the world. We find sickness, old age and death. We see things that are ugly, people who are insane and foolish. There are storms, earthquakes, floods, draught and famine. We also see people commit sins, show disloyalty, unfaithfulness, greed and insincerity. We see people commit rapes, murders; they fight and make wars. We know all these and many more problems. There are evils caused by human beings and there are natural disasters. There are suffering for individuals and there are those that involve a large number of people.
But we also know that this is not the whole story. Besides all these negative things, we also see beauty, health, prosperity, life, birth, wisdom, intelligence, growth and progress. We also see goodness among people, faith, sincerity, charity, love and the spirit of sacrifice. We also see a lot of virtue and piety. It is wrong to see one side of the coin and not to see the other side. Any philosophy that concentrates on one aspect of the creation and denies or ignores the other side is partially true and partial truths are no truth at all.
It is also the fact that the element of good is more in the creation than the element of evil. We all see that there are more people who are healthy than those who are sick. There are more that eat well than those who starve.
there are more that lead decent life than those who commit crimes. Goodness is the rule and evil is the exception. Virtue is the norm and sin is the aberration. Generally trees bear fruits, the flowers bloom, the winds move smoothly.
But then the question is why does Allah allow these exceptions to the rules?
Let us ask this question to understand Allah’s ways in His creation. The Qur’an tells us that good, evil and whatever happens in this world happens by Allah’s Will (mashi’at Allah). Only Allah knows fully His Will. We finite beings cannot grasp fully His infinite Will and Wisdom. He runs His universe the way He deems fit. The Qur’an tells us that Allah is Wise and everything that Allah does is right, just, good and fair. We must submit and surrender to His Will. The Qur’an has not given us all the details about Allah’s Will, but it has enlightened us with the guidance that is useful and sufficient for us. There are several points that we should keep in our mind to understand this issue:
1. First of all, Allah did not make this world a permanent world. This is a temporary world and everything here has a time limit. When its times comes it will die, come to an end and finish. Neither the good things of this world are forever, nor the bad things eternal. We are here for a short time and we are being tested. Those who will pass this test will find an eternal world that is perfect and permanent. Those who will fail this test shall see the evil consequences of their sins and corruption.
2. Allah has placed a physical law and a moral law in this universe. Allah allows suffering to occur when one or more of these laws are broken. The physical law is based on cause and effect. Sickness comes if one does not take care of one’s health or is exposed to infections. A car accident occurs when one is not alert, or drives in a careless manner, or if the cars are not checked, roads and freeways are not made and kept in right shape, or the traffic laws are not right or not properly enforced. Study of causes and effects is very important to facilitate safeguards. Even here we should keep in mind that Allah often saves us and He does not let us suffer from every negligence. How many times it happens that we are not careful and still we reach safely to our destinations. The way people drive in some cities, it is a miracle that more accidents do not happen and more people do not suffer. Allah says:
“(Allah) Most Gracious! It is He Who has taught the Qur’an. He has created man: He has taught him speech (and Intelligence). The sun and the moon follow courses (exactly) computed; and the herbs and the trees both (alike) bow in adoration. And the Firmament has He raised high, and He has set up the Balance (of Justice), in order that you may not transgress (due) balance. So establish weight with justice and fall not short in the balance. It is He Who has spread out the earth for (His) creatures.” (Ar-Rahman:1-10)
the way we exceed the measures set by Allah and violate His laws of cause and effect is incredible. It is really the mercy of Allah that we are saved. Strictly speaking, the question should not be why does Allah allow suffering, but how much Allah protects us and saves us all the time in spite of our violations and negligence. The Qur’an says:
“If Allah were to punish people according to what they deserve, He would not leave on the back of the (earth) a single living creature: but He gives them respite for a stated Term: when their Term expires, verily Allah has in His sight all His servants.” (Fatir:45)
But sometimes Allah does punish people because of their violations of His laws whether they are physical or moral. The Qur’an tells us that many nations and communities were destroyed because of their sinful lifestyles:
“If they treat thy (mission) as false, so did the Peoples before them (with their Prophets), the People of Noah, and Ad and Thamud. Those of Abraham and Lut; and the Companions of the Madyan people; and Moses was rejected (in the same way). But I granted respite to the Unbelievers, and (only) after that did I punish them: but how (terrible) was My rejection (of them)! How many populations have We destroyed, which were given to wrong-doing! They tumbled down on their roofs. And how many wells are lying idle and neglected, and castles lofty and well-built?” (Al-Hajj: 42-45)
3. Suffering can also be a test and trial for some people. Allah allows some people to suffer in order to test their patience and steadfastness. Even Allah’s Prophets and Messengers were made to suffer. Prophet Ayyub is mentioned in the Qur’an as a Prophet who was very patient. Good people sometimes suffer but their sufferings heal others and bring goodness to their communities. People learn lessons from their good examples. Martyrs die for their faith, soldiers give their lives for their nations and this brings liberation and freedom for their people.
4. Allah sometimes allows some people to suffer to test others, how they react to them. When you see a person who is sick, poor and needy, then you are tested by Allah. Allah is there with that suffering person to test your charity and your faith. In a very moving Hadith Qudsi (Divine Hadith) the Prophet, peace be upon him, said:
“Allah will say on the Day of Judgment, ‘O son of Adam, I was sick and you did not visit Me.’ He will say, ‘O my Lord, how could I visit You, when you are the Lord of the Worlds.’ Allah will say, ‘Did you not know that My servant so-and-so was sick and you did not visit him? Did you not know that if you had visited him, you would have found Me there?’ Allah will say, ‘O son of Adam, I asked you for food and you fed Me not.’ He shall say, ‘O my Lord, how could I feed you and you are the Lord of the Worlds?’ And Allah will say, ‘Did you not know that My servant so-and-so was in need of food and you did not
feed him? Did you not know that if you had fed him, you would have found that to have been for Me?’ ‘O son of Adam, I asked you for water and you did not give Me to drink.’ The man shall say, ‘O my Lord, how could I give You water, when You are the Lord of the Worlds?’ Allah will say, ‘My servant so-and-so asked you for water and you did not give him to drink water. Did you not know that if you had given him to drink, you would have found that to have been forMe.’
(Muslim, Hadith no. 4661)
Prophet `Isa (Jesus), peace be upon him, is also reported to have said something similar. (See Matthew 25: 35-45)
So, to summarize, we can say that sufferings occur to teach us that we must adhere to Allah’s natural and moral laws. It is sometimes to punish those who violate Allah’s natural or moral laws. It is to test our faith in Allah and to test our commitment to human values and charity. Whenever we encounter suffering we should ask ourselves, “Have we broken any law of Allah?” Let us study the cause of the problem and use the corrective methods. “Could it be a punishment?” Let us repent and ask forgiveness and reform our ways. “Could it be a test and trial for us?” Let us work hard to pass this test.
Believers face the sufferings with prayers, repentance and good deeds. The non-believers face the sufferings with doubts and confusions. They blame Allah or make arguments against Him.”