[Machine] I witnessed a funeral procession with the Messenger of Allah ﷺ , and he said, "O people, this ummah (nation) is tested in their graves. When a person is buried and his companions depart from him, an angel comes to him with a mace in his hand. He sits him down and asks, 'What do you say about this man?' If he is a believer, he says, 'I testify that there is no god but Allah and that Muhammad is His servant and Messenger.' The angel says, 'You have spoken the truth.' Then a door to the Hellfire is opened for him and it is said, 'This would have been your place if you had disbelieved in your Lord. But as you have believed, this is your place.' Then a door to Paradise is opened for him and he intends to rise towards it. However, he is told to reside and his grave is made spacious for him. If the person was a disbeliever or a hypocrite, the angel asks him, 'What do you say about this man?' He replies, 'I do not know. I heard the people saying something, so I said it. I did not understand nor read nor have any guidance.' Then a door to Paradise is opened for him and it is said, 'This would have been your place if you had believed in your Lord.' But as you have disbelieved, Allah has replaced it with this.' Then a door to the Hellfire is opened for him and he is struck with a blow from the mace that is heard by all of Allah's creation except the two weighty things (the Jinn and humans). Some people asked the Messenger of Allah ﷺ , 'O Messenger of Allah, no one is struck with a mace except for him?' The Messenger of Allah ﷺ said, 'Allah strengthens those who have believed with the firm word in worldly life and the Hereafter.'" [Ibrahim 14:27]
شَهِدْتُ مَعَ رَسُولِ اللهِ ﷺ جِنَازَةً فَقَالَ رَسُولُ اللهِ ﷺ أَيُّهَا النَّاسُ إِنَّ هَذِهِ الْأُمَّةَتُبْتَلَى فِي قُبُورِهَا فَإِذَا الْإِنْسَانُ دُفِنَ فَتَفَرَّقَ عَنْهُ أَصْحَابُهُ جَاءَهُ مَلَكٌ فِي يَدِهِ مِطْرَاقٌ فَأَقْعَدَهُ قَالَ مَا تَقُولُ فِي هَذَا الرَّجُلِ؟ فَإِنْ كَانَ مُؤْمِنًا قَالَ أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ وَأَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ فَيَقُولُ صَدَقْتَ ثُمَّ يُفْتَحُ لَهُ بَابٌ إِلَى النَّارِ فَيَقُولُ هَذَا كَانَ مَنْزِلُكَ لَوْ كَفَرْتَ بِرَبِّكَ فَأَمَّا إِذْ آمَنْتَ فَهَذَا مَنْزِلُكَ فَيُفْتَحُ لَهُ بَابٌ إِلَى الْجَنَّةِ فَيُرِيدُ أَنْ يَنْهَضَ إِلَيْهِ فَيَقُولُ لَهُ اسْكُنْ وَيُفْسَحُ لَهُ فِي قَبْرِهِ وَإِنْ كَانَ كَافِرًا أَوْ مُنَافِقًا يَقُولُ لَهُ مَا تَقُولُ فِي هَذَاالرَّجُلِ؟ فَيَقُولَ لَا أَدْرِي سَمِعْتُ النَّاسَ يَقُولُونَ شَيْئًا فَيَقُولُ لَا دَرَيْتَ وَلَا تَلَيْتَ وَلَا اهْتَدَيْتَ ثُمَّ يُفْتَحُ لَهُ بَابٌ إِلَى الْجَنَّةِ فَيَقُولُ هَذَا مَنْزِلُكَ لَوْ آمَنْتَ بِرَبِّكَ فَأَمَّا إِذْ كَفَرْتَ بِهِ فَإِنَّ اللهَ ﷻ أَبْدَلَكَ بِهِ هَذَا وَيُفْتَحُ لَهُ بَابٌ إِلَى النَّارِ ثُمَّ يَقْمَعُهُ قَمْعَةً بِالْمِطْرَاقِ يَسْمَعُهَا خَلْقُ اللهِ كُلُّهُمْ غَيْرَ الثَّقَلَيْنِ فَقَالَ بَعْضُ الْقَوْمِ يَا رَسُولَ اللهِ مَا أَحَدٌ يَقُومُ عَلَيْهِ مَلَكٌ فِي يَدِهِ مِطْرَاقٌ إِلَّا هِيِلَ عِنْدَ ذَلِكَ فَقَالَ رَسُولُ اللهِ ﷺ يُثَبِّتُ اللهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ [إبراهيم27]