The Prophet ﷺ mentioned the punishment of the grave and said, "He will be asked, 'Who is your Lord?' He will reply, 'Allah is my Lord, and Muhammad is my Prophet.' This is the meaning of His statement, 'Allah keeps firm those who believe with the firm word in the worldly life' [Ibrahim 14:27], referring to the Muslim."
حدثنا محمد بن جعفر حدثنا شعبة عن علقمة بن مرثد عن سعد بن عبيدة
عن النبي ﷺ قال ذكر عذاب القبر قال يقال له من ربك فيقول الله ربي ونبيي محمد فذلك قوله {يثبت الله الذين آمنوا بالقول الثابت في الحياة الدنيا} يعني بذلك المسلم