Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:3120Maḥmūd b. Ghaylān > Abū Dāwud > Shuʿbah > ʿAlqamah b. Marthid > Saʿd b. ʿUbaydah > al-Barāʾ

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?'"  

Abū ʿĪsá said that this Ḥadīth is Ḥasan-Ṣaḥīḥ.
الترمذي:٣١٢٠حَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ حَدَّثَنَا أَبُو دَاوُدَ حَدَّثَنَا شُعْبَةُ أَخْبَرَنِي عَلْقَمَةُ بْنُ مَرْثِدٍ قَالَ سَمِعْتُ سَعْدَ بْنَ عُبَيْدَةَ يُحَدِّثُ عَنِ الْبَرَاءِ

عَنِ النَّبِيِّ ﷺ فِي قَوْلِ اللَّهِ ( يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الآخِرَةِ ) قَالَ فِي الْقَبْرِ إِذَا قِيلَ لَهُ مَنْ رَبُّكَ وَمَا دِينُكَ وَمَنْ نَبِيُّكَ؟  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ

See similar narrations below:

Collected by Qurʾān, Bukhārī, Muslim, Nasāʾī, Ibn Mājah, Aḥmad, Ibn Ḥibbān, Suyūṭī
quran:14:27

Allah keeps firm those who believe, with the firm word, in worldly life and in the Hereafter. And Allah sends astray the wrongdoers. And Allah does what He wills.  

God confirms those who believe by a firm saying, namely, the profession of ˹His˺ Oneness, in the life of this world and in the Hereafter, that is, in the grave, when the two angels question them about their Lord, their religion and their Prophet, and they respond correctly, as ˹reported˺ in the hadīth of the two Shaykhs ˹alBukhārī and Muslim˺; and God sends astray the evildoers, the disbelievers, and therefore they are not guided to the correct response, saying instead, ‘We do not know’, as ˹reported˺ in the hadīth; and God does what He will.
القرآن:١٤:٢٧

يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الْآخِرَةِ ۖ وَيُضِلُّ اللَّهُ الظَّالِمِينَ ۚ وَيَفْعَلُ اللَّهُ مَا يَشَاءُ  

{يثبت الله الذين آمنوا بالقول الثابت} هي كلمة التوحيد {في الحياة الدنيا وفي الآخرة} أي في القبر لما يسألهم الملكان عن ربهم ودينهم ونبيهم فيجيبون بالصواب كما في حديث الشيخين {ويضل الله الظالمين} الكفار فلا يهتدون للجواب بالصواب بل يقولون لا ندري كما في الحديث {ويفعل الله ما يشاء}.
bukhari:4699Abū al-Walīd > Shuʿbah > ʿAlqamah b. Marthad > Saʿd b. ʿUbaydah > al-Barāʾ b. ʿĀzib

Messenger of Allah ﷺ said, "When a Muslim is questioned in his grave, he will testify that none has the right to be worshipped but Allah and that Muhammad is Messenger of Allah ﷺ, and that is what is meant by Allah's Statement:-- "Allah will keep firm those who believe with a Word that stands firm in this world and in the Hereafter." (14.27)  

البخاري:٤٦٩٩حَدَّثَنَا أَبُو الْوَلِيدِ حَدَّثَنَا شُعْبَةُ قَالَ أَخْبَرَنِي عَلْقَمَةُ بْنُ مَرْثَدٍ قَالَ سَمِعْتُ سَعْدَ بْنَ عُبَيْدَةَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ الْمُسْلِمُ إِذَا سُئِلَ فِي الْقَبْرِ يَشْهَدُ أَنْ لاَ إِلَهَ إِلاَّ اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ فَذَلِكَ قَوْلُهُ {يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الآخِرَةِ}  

muslim:2871aMuḥammad b. Bashhār b. ʿUthmān al-ʿAbdī > Muḥammad b. Jaʿfar > Shuʿbah > ʿAlqamah b. Marthad > Saʿd b. ʿUbaydah > al-Barāʾ b. ʿĀzib

This verse: "Allah grants steadfastness to those who believe with firm word," was revealed in connection with the torment of the grave. It would be said to him: Who is your Lord? And he would say: Allah is my Lord and Muhammad is my Apostle ﷺ, and that is (what is implied) by the words of Allah, the Exalted: "Allah keeps steadfast those who believe with firm word in this world and in the Hereafter."  

مسلم:٢٨٧١aحَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارِ بْنِ عُثْمَانَ الْعَبْدِيُّ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ عَنْ سَعْدِ بْنِ عُبَيْدَةَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ

عَنِ النَّبِيِّ ﷺ قَالَ { يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ} قَالَ نَزَلَتْ فِي عَذَابِ الْقَبْرِ فَيُقَالُ لَهُ مَنْ رَبُّكَ فَيَقُولُ رَبِّيَ اللَّهُ وَنَبِيِّيَ مُحَمَّدٌ ﷺ فَذَلِكَ قَوْلُهُ ﷻ { يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الآخِرَةِ}  

nasai:2056Isḥāq b. Manṣūr > ʿAbd al-Raḥman > Sufyān from his father > Khaythamah > al-Barāʾ

Al-Bara said about Allah will keep firm those who believe, with the word that stands firm in this world and in the Hereafter "It was revealed concerning the torment of the grave.  

النسائي:٢٠٥٦أَخْبَرَنَا إِسْحَاقُ بْنُ مَنْصُورٍ قَالَ حَدَّثَنَا عَبْدُ الرَّحْمَنِ عَنْ سُفْيَانَ عَنْ أَبِيهِ عَنْ خَيْثَمَةَ عَنِ الْبَرَاءِ قَالَ

{ يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الآخِرَةِ } قَالَ نَزَلَتْ فِي عَذَابِ الْقَبْرِ  

nasai:2057Muḥammad b. Bashhār > Muḥammad > Shuʿbah > ʿAlqamah b. Marthad > Saʿd b. ʿUbaydah > al-Barāʾ b. ʿĀzib

"Allah will keep firm those who believe, with the world that stands firm in this world, and in the Hereafter. This was revelated concerning the torment in the grave. It will be said to him (the deceased: 'Who is your Lord?' and he will say: 'My Lord is Allah and my Prophet is Muhammad. That is what is (the meaning of) His saying: Allah will keep firm those who believe, with the word that stands firm in this world, and in the Hereafter".  

النسائي:٢٠٥٧أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا مُحَمَّدٌ قَالَ حَدَّثَنَا شُعْبَةُ عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ عَنْ سَعْدِ بْنِ عُبَيْدَةَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ

عَنِ النَّبِيِّ ﷺ قَالَ { يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الآخِرَةِ } قَالَ نَزَلَتْ فِي عَذَابِ الْقَبْرِ يُقَالُ لَهُ مَنْ رَبُّكَ فَيَقُولُ رَبِّيَ اللَّهُ وَدِينِي دِينُ مُحَمَّدٍ ﷺ فَذَلِكَ قَوْلُهُ { يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الآخِرَةِ }  

ibnmajah:4269Muḥammad b. Bashhār > Muḥammad b. Jaʿfar > Shuʿbah > ʿAlqamah b. Marthad > Saʿd b. ʿUbaydah > al-Barāʾ b. ʿĀzib

“Allah will keep firm those who believe, with the word that stands firm.” [14:27] This has been revealed concerning the torment of the grave. It will be said to him: ‘Who is your Lord?’ He will say: ‘My Lord is Allah, and my Prophet is Muhammad.’ This is what Allah says: Allah will keep firm those who believe, with the word that stands firm in this world (i.e. they will keep on worshipping Allah Alone and none else), and in the Hereafter (i.e., at the time of questioning in the grave).’” [14:27]  

ابن ماجة:٤٢٦٩حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ عَنْ سَعْدِ بْنِ عُبَيْدَةَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ

عَنِ النَّبِيِّ ﷺ قَالَ {يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ } قَالَ نَزَلَتْ فِي عَذَابِ الْقَبْرِ يُقَالُ لَهُ مَنْ رَبُّكَ فَيَقُولُ رَبِّيَ اللَّهُ وَنَبِيِّي مُحَمَّدٌ فَذَلِكَ قَوْلُهُ {يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الآخِرَةِ}  

ahmad:18575Muḥammad b. Jaʿfar > Shuʿbah > ʿAlqamah b. Marthad > Saʿd b. ʿUbaydahaʿan al-Barāʾ b. ʿĀzib

[Machine] Narrated by the Prophet ﷺ , he said: "The punishment of the grave is mentioned, and it is said to him, 'Who is your Lord?' He replies, 'Allah is my Lord, and Muhammad is my Prophet.' This is in accordance with Allah's saying, 'Allah will establish in steadfastness those who have believed with the firm word in worldly life.' (Surah Ibrahim, 27). This means the Muslim."  

أحمد:١٨٥٧٥حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ عَنْ سَعْدِ بْنِ عُبَيْدَةَعَنِ الْبَرَاءِ بْنِ عَازِبٍ

عَنِ النَّبِيِّ ﷺ قَالَ ذَكَرَ عَذَابَ الْقَبْرِ قَالَ يُقَالُ لَهُ مَنْ رَبُّكَ؟ فَيَقُولُ اللهُ رَبِّي وَنَبِيِّي مُحَمَّدٌ فَذَلِكَ قَوْلُهُ {يُثَبِّتُ اللهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا} [إبراهيم 27] يَعْنِي بِذَلِكَ الْمُسْلِمَ  

ذِكْرُ قِرَاءَةِ الْمُصْطَفَى ﷺ {يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الْآخِرَةِ}

ibnhibban:6324Abū Khalīfah > Ḥafṣ b. ʿUmar al-Ḥawḍī > Shuʿbah > ʿAlqamah b. Marthad > Saʿd b. ʿUbaydah > al-Barāʾ b. ʿĀzib

[Machine] The Prophet ﷺ said, "When a believer testifies that there is no god but Allah and recognizes Muhammad ﷺ in his grave, then that is Allah's statement: 'Allah will establish those who believe with the firm statement in the worldly life and in the Hereafter.'"  

ابن حبّان:٦٣٢٤أَخْبَرَنَا أَبُو خَلِيفَةَ قَالَ حَدَّثَنَا حَفْصُ بْنُ عُمَرَ الْحَوْضِيُّ قَالَ حَدَّثَنَا شُعْبَةُ عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ عَنْ سَعْدِ بْنِ عُبَيْدَةَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ

أَنَّ النَّبِيَّ ﷺ قَالَ «الْمُؤْمِنُ إِذَا شَهِدَ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَعَرَفَ مُحَمَّدًا ﷺ فِي قَبْرِهِ فَذَلِكَ قَوْلُهُ {يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الْآخِرَةِ} »  

suyuti:11734a
Request/Fix translation

  

السيوطي:١١٧٣٤a

"المؤمِن إِذَا شَهِدَ أنْ لَا إِلَه إِلَّا اللهُ، وَعَرَف محمدًا في قَبْرهِ فَذلِكَ قولُ اللهِ ﷻ {يُثَبِّتُ اللَّهُ الَّذِينَ آمَنُوا بِالْقَوْلِ الثَّابِتِ فِي الْحَيَاةِ الدُّنْيَا وَفِي الْآخِرَةِ}.  

[حب] ابن حبّان عن البراءِ