To understand the reason for humanity’s need for religion, we need to understand why we need God-sent Prophets and Messengers, those individuals who are able to transmit the Divine message in the clearest way, aided by miracles and scripture and logic. In order to find the quickest and shortest route to worldly and after-worldly happiness, one needs to understand the laws that govern both worlds, in order to avoid pitfalls and hindrances.
5) Explaining the Laws of the Hereafter:
There is no doubt that each of the earthly world and hereafter are governed by their own laws, except for the general laws that apply to both, like the law of causality and the law of non-contradiction. And there are several verses in the Holy Quran confirming that the afterlife is governed by laws unique to it:
وَنُنشِئَكُمْ فِي مَا لَا تَعْلَمُونَ
..And make you in what you know not.
يَا أَيُّهَا النَّاسُ اتَّقُوا رَبَّكُمْ ۚ إِنَّ زَلْزَلَةَ السَّاعَةِ شَيْءٌ عَظِيمٌ
O mankind! Fear your Lord. Lo! the earthquake of the Hour (of Doom) is a tremendous thing.
يَوْمَ تُبَدَّلُ الْأَرْضُ غَيْرَ الْأَرْضِ وَالسَّمَاوَاتُ ۖ وَبَرَزُوا لِلَّـهِ الْوَاحِدِ الْقَهَّارِ
On the day when the earth will be changed to other than the earth, and the heavens (also will be changed) and they will come forth unto Allah, the One, the Almighty.
يَوْمَ نَطْوِي السَّمَاءَ كَطَيِّ السِّجِلِّ لِلْكُتُبِ ۚ كَمَا بَدَأْنَا أَوَّلَ خَلْقٍ نُّعِيدُهُ ۚ وَعْدًا عَلَيْنَا ۚ إِنَّا كُنَّا فَاعِلِينَ
The Day when We shall roll up the heavens as a recorder rolleth up a written scroll. As We began the first creation, We shall repeat it. (It is) a promise (binding) upon Us. Lo! We are to perform it.
وَمَا قَدَرُوا اللَّـهَ حَقَّ قَدْرِهِ وَالْأَرْضُ جَمِيعًا قَبْضَتُهُ يَوْمَ الْقِيَامَةِ وَالسَّمَاوَاتُ مَطْوِيَّاتٌ بِيَمِينِهِ ۚ سُبْحَانَهُ وَتَعَالَىٰ عَمَّا يُشْرِكُونَ
And they esteem not Allah as He hath the right to be esteemed, when the whole earth is His handful on the Day of Resurrection, and the heavens are rolled in His right hand. Glorified is He and High Exalted from all that they ascribe as partner (unto Him).
Isn’t everything in His dominion? Why then does He have the heavens ‘in His right hand’? What can be understood from the above verses?
a) First Law – The Law of Manifestation of Deeds 
This law is considered to be one of the most important laws of the Hereafter, and in short can be explained as such: that the human deeds – be it the moral traits, habits or doctrines – will become manifest and present themselves before the individual on the day of judgement:
‘It is gathered from the Holy Quran and the sayings of the Imams that not only man continues to exist after his death, but his deeds and works are also so preserved that they do not disappear. In his post-Resurrection life man will see all his past deeds depicted and embodied. Good deeds will have very beautiful, attractive and pleasing forms. They will be a source of delight and enjoyment. The forms of the evil deeds will be very ugly, repulsive and horrible. They will be a source of pain, suffering and torture.
Here we confine ourselves to the mention of three verses of the Quran and two sayings of the Holy Prophet in this connection:
(i) "On the Day when every soul will find itself confronted with all that it has done of good and all that it has done of evil. Every soul will long that there might be a mighty space between it and that evil." (3:30)
This verse expressly says that man will find before him the actual good and bad deeds of his. The good deeds will be presented in pleasing and attractive forms, but the forms in which bad deeds will appear will be so repulsive and loathsome, that man would like to remove them from his sight or to run away from them. But he would not be able to do either, because in that world man’s deeds are almost a part of his existence and cannot be separated from him.
(ii) "They will find before them whatever they did in this world." (18:49)
This verse says exactly the same thing as the previous one.
(iii) "That day mankind will issue forth in scattered groups to be shown their deeds (in the display centre of the deeds). And whosoever does an atom’s weight of good will see it then, and whosoever does an atom’s weight of evil will see it then." (99:6-8)
Man is immortal and eternal, and so are his deeds and works. In the next world he will be living with the deeds with which he has lived in this world. Man’s deeds are his good or bad assets. It depends on them whether his everlasting life in the next world will be happy or miserable.’
 This law could also be referred to as the ‘embodiment and eternity of human deeds’
 Man and Universe, Eternal life or life of the Next World, by Shahid Murtadha Mutahhari, p. 607-609