The Muslim Perspective

No, in Islam you do not earn your way into Heaven. There are acts which have been legislated by God (Allah) which will draw one nearer to Him and for which He will reward the doer. But the acceptance of those actions is totally with God alone. No one will enter Paradise except through His Decree and His Mercy. Prophet Muhammad said, "The deeds of anyone of you will not save you (from the Fire)." They said, "Even you (will not be saved by your deeds), O Allah's Apostle?" He said, "No, even I (will not be saved) unless and until Allah bestows His Mercy on me. Therefore, do good deeds properly, sincerely and moderately, and worship Allah in the forenoon and in the afternoon and during a part of the night, and always adopt a middle, moderate, regular course whereby you will reach your target (Paradise)."