Narrated Al-Bara: that regarding Allah's saying: Allah will keep firm those who believe, with the word that stands firm in this world and in the Hereafter (14:27). The Prophet (ﷺ) said: In the grave, when it is said to him: 'Who is your Lord? What is your religion? And who is your Prophet?'

حَدَّثَنَا مَحْمُودُ بْنُ غَيْلَانَ، حَدَّثَنَا أبُو دَاوُدَ، حَدَّثَنَا شُعْبَةُ، أَخْبَرَنِي عَلْقَمَةُ بْنُ مَرْثَدٍ، قَال:‏‏‏‏ سَمِعْتُ سَعْدَ بْنَ عُبَيْدَةَ يُحَدِّثُ، ‏‏‏‏‏‏عَنِ الْبَرَاءِ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي قَوْلِ اللَّهِ تَعَالَى:‏‏‏‏ يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الآخِرَةِ سورة إبراهيم آية 27 قَالَ:‏‏‏‏ فِي الْقَبْرِ إِذَا قِيلَ لَهُ مَنْ رَبُّكَ وَمَا دِينُكَ وَمَنْ نَبِيُّكَ ، ‏‏‏‏‏‏قَالَ أَبُو عِيسَى:‏‏‏‏ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ.

Explanation
تفسير الحديث

This hadith speaks about the virtue of steadfastness in faith, and that Allah supports the believers in this world and the Hereafter. It refers to what happens to a believer in the grave after death, where they are questioned about their Lord, their religion, and their prophet. If the believer has lived a righteous life according to the teachings of Allah and His Messenger, they will be able to respond to these questions with confidence and steadiness. This illustrates the importance of faith and preparation for what comes after death, as well as Allah's grace in supporting believers during difficult times.

هذا الحديث يتحدث عن فضل الثبات على الإيمان وأن الله تعالى يثبت المؤمنين في الدنيا والآخرة. يشير الحديث إلى ما يحدث للمؤمن في قبره بعد موته، حيث يُسأل عن ربه ودينه ونبيه. إذا كان المؤمن قد عاش حياة صحيحة وسليمة وفق تعاليم الله ورسوله، فإنه سيكون قادرًا على الإجابة على هذه الأسئلة بثقة وثبات. هذا يدل على أهمية الإيمان والاستعداد لما بعد الموت وعلى فضل الله في تثبيت المؤمنين في الأوقات الصعبة.

Source: Jami' Al-Tirmidhi by Abu `Isa Muhammad at-Tirmidhi