In the name of Allah the merciful the compassionate
According to the noble Qur'an everyone will encounter death:
“Wherever you are, death will overtake you, though you are in lofty
After death, souls will enter barzakh [ref] and those who enter heaven after barzakh will stay there forever. Almighty Allah says in his noble Qur'an as such:
“Those who are in awe of the Beneficent God in secret and come with a
penitent heart: Enter it in peace, that is the day of abiding”
According to Mohammad Ali Shomali in his Self-knowledge:
Those people who enter hell are of two kinds. Disbelievers who are
against the truth will stay there forever. But those believers who
will enter hell for their bad deeds will finally enter heaven after
they will have been cleansed.
“And (as to) those who disbelieve, their
guardians are Shaytans who take them out of the light into the
darkness; they are the inmates of the fire, in it they shall abide.”
Rank of believers in heaven
Believers who enter heaven are not of the same ranks in heaven and based on their action in the world, they are in certain situation in heaven. For example we read in hadith from the holy prophet:
مَن جَاءَهُ المَوتُ وهُوَ يَطْلُبُ العِلمَ لِيُحيِيَ بهِ الإسْلامَ
كانَ بَينَهُ وَبَيْنَ الأنْبِياءِ دَرَجَةٌ واحِدَةٌ في الجَنَّةِ.
“Whoever dies while seeking knowledge with the intention of reviving
Islam, then there is one rank in Heaven between him and the Prophets. [ref]
This hadith shows the different ranks that believers might have in heaven. Believers may get higher ranks the more they stay in heaven and worship the almighty Allah.
In it there will be things for which the souls of men yearn and which
give delight to their eyes, and they shall reside therein forever. It
is an abode the inmates whereof are the neighbors of Allah, and His
friends (awliya') and loved ones and the recipients of His generosity.
And they are of different kinds and ranks. Among them will be some who
like angels will receive their favors by sanctifying and glorifying
Allah and declaring His greatness [ref].
And the least of believers in point of rank in Paradise shall have ten times of what he had in this world.