عَنْ ابْنِ عُمَرَ أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّم قَالَ: إِنَّ أَحَدَكُمْ إِذَا مَاتَ عُرِضَ عَلَيْهِ مَقْعَدُهُ بِالْغَدَاةِ وَالْعَشِيِّ إِنْ كَانَ مِنْ أَهْلِ الْجَنَّةِ فَمِنْ أَهْلِ الْجَنَّةِ وَإِنْ كَانَ مِنْ أَهْلِ النَّارِ فَمِنْ أَهْلِ النَّارِ فَيُقَالُ هَذَا مَقْعَدُكَ حَتَّى يَبْعَثَكَ اللَّهُ يَوْمَ الْقِيَامَةِ.
Hazrat Ibn Umarra reported, Allah’s Messengersa said, “Verily, when one of you dies, he is shown his abode morning and evening. If he is to be among the dwellers of Paradise, he is [shown his abode] among the dwellers of Paradise. If he is to be among the dwellers of Hellfire, he is [shown his abode] among the dwellers of Hellfire. It is said [to him], ‘This is your place until you are raised on the Day of Resurrection.’”
(Sahih al-Bukhari, Kitab al-jana’iz, Bab al-mayyitu yu‘radu ‘alayhi maq‘aduhu bi l-ghadati wa l-‘ashiyyi)