Bara bin Azib reported,

The Prophet ﷺ said regarding the verse "Allah keeps firm those who believe with the firm word", "This was revealed concerning the punishment of the grave. He will be asked, 'Who is your Lord?' and he will reply, 'My Lord is Allah and my prophet is Muhammad ﷺ.' That is the meaning of His statement عز وجل, "Allah keeps firm those who believe with the firm word in the worldly life and in the Hereafter" [Ibrahim 14:27]."

Muslim 7219

Sahih

حدثنا محمد بن بشار بن عثمان العبدي حدثنا محمد بن جعفر حدثنا شعبة عن علقمة بن مرثد عن سعد بن عبيدة

عن البراء بن عازب

عن النبي ﷺ قال {يثبت الله الذين آمنوا بالقول الثابت} قال نزلت في عذاب القبر فيقال له من ربك فيقول ربي الله ونبيي محمد ﷺ فذلك قوله عز وجل {يثبت الله الذين آمنوا بالقول الثابت في الحياة الدنيا وفي الآخرة}

مسلم 7219صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Paradise and the description of its bliss and its people
Chapter
Presenting the deceased's seat in Paradise or Hell to them, and affirming the punishment of the grave and seeking refuge from it
Numbering
Darussalam 7219
Muslim 7219