Bara bin Azib reported,

The Prophet ﷺ said regarding the saying of Allah Most High, "Allah keeps firm those who believe with the firm word in the worldly life and in the Hereafter" [Ibrahim 14:27], "This refers to the grave, when he is asked, 'Who is your Lord? What is your religion? Who is your Prophet?'"

Tirmidhi 3120

Sahih

حدثنا محمود بن غيلان حدثنا أبو داود حدثنا شعبة أخبرني علقمة بن مرثد قال سمعت سعد بن عبيدة يحدث

عن البراء

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

الترمذي 3120صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Ibrahim عليه السلام
Numbering
Darussalam 3120
Tirmidhi 3120