For a Muslim, the purpose of life is to live in a way that is pleasing to Allah so that one may gain Paradise. It is believed that at puberty, an account of each person’s deeds is opened, and this will be used at the Day of Judgement to determine his eternal fate. The Qur’an also suggests a doctrine of divine predestination.
The concept of Salvation
The Muslim doctrine of salvation is that unbelievers (kuffar, literally “those who are ungrateful”) and sinners will be condemned, but genuine repentance results in Allah’s forgiveness and entrance into Paradise upon death.
The Qur’an teaches the necessity of both faith and good works for salvation:
“He it is Who sends blessings on you, as do His angels, that He may bring you out from the depths of Darkness into Light: and He is Full of Mercy to the Believers.”
“You be foremost (in seeking) forgiveness from your Lord, and a Garden (of Bliss), the width whereof is as the width of heaven and earth, prepared for those who believe in Allah and His messengers: that is the Grace of Allah, which He bestows on whom He pleases: and Allah is the Lord of Grace abounding.”
“In the case of those who say, “Our Lord is Allah,” and, further, stand straight and steadfast, the angels descend on them (from time to time): “Fear ye not!” (they suggest), “Nor grieve! but receive the Glad Tidings of the Garden (of Bliss), that which ye were promised!”
“And fear the Fire, which is prepared for those who reject Faith.”
“Righteousness is not that you turn your faces toward the east or the west, but [true] righteousness is [in] one who believes in Allah , the Last Day, the angels, the Book, and the prophets and gives wealth, in spite of love for it, to relatives, orphans, the needy, the traveler, those who ask [for help], and for freeing slaves; [and who] establishes prayer and gives zakah; [those who] fulfill their promise when they promise; and [those who] are patient in poverty and hardship and during battle. Those are the ones who have been true, and it is those who are the righteous.”
“To those who believe and do deeds of righteousness hath Allah promised forgiveness and a great reward.”
“But those who believe and work righteousness,- no burden do We place on any soul, but that which it can bear, they will be Companions of the Garden, therein to dwell (forever).”
“As to those who believe and work righteousness, verily We shall not suffer to perish the reward of any who do a (single) righteous deed.”
“But after them there followed a posterity who missed prayers and followed after lusts soon, then, will they face Destruction,-Except those who repent and believe, and work righteousness: for these will enter the Garden and will not be wronged in the least,-Gardens of Eternity, those which (Allah) Most Gracious has promised to His servants in the Unseen: for His promise must (necessarily) come to pass.”