Muslims believe that the life of this world will come to an end. Allah says:
Whatsoever is on it (i.e. the earth) will perish. [55:26]
The Day of Resurrection is the day when each individual will stand before Allah and be questioned about their deeds. The compensation for evil in the Hereafter is exact justice, while the compensation for good is much greater – comprehensive, multiple rewards and complete satisfaction and happiness.
People will be judged according to their degree of righteousness, and nothing else. Allah says:
Whoever brings a good deed shall have ten times the like thereof to his (or her) credit, and whoever brings an evil deed shall have only the recompense of the like thereof. [6:160]
A person is rewarded for merely intending to do good, even if they do not follow up that intention with action. Prophet Muhammad () mentioned that Allah said:
“Whoever intends to perform a good deed but does not do it, Allah records it for him as one good deed. If one intends to do a good deed and does it, Allah records for him the like thereof ten times, up to seven hundred times, to many times. If one intends to do an evil deed, but does not do it, Allah records it for him as one good deed. If one intends to do an evil deed and does it, Allah records it only as one evil deed.”