The Messenger of Allah ﷺ said, "When one of you dies, his place is shown to him morning and evening. If he is among the people of the Fire, then from the people of the Fire, and it is said to him, 'This is your place until Allah resurrects you on the Day of Resurrection.'"
أخبرنا إسحق بن إبراهيم قال أنبأنا المعتمر قال سمعت عبيد الله يحدث عن نافع
عن رسول الله ﷺ قال يعرض على أحدكم إذا مات مقعده من الغداة والعشي فإن كان من أهل النار فمن أهل النار قيل هذا مقعدك حتى يبعثك الله عز وجل يوم القيامة
Graded, its chain of transmission is sahih. Tirmidhi transmitted it, in the chapters on funerals, in the chapter on what has been narrated about the punishment of the grave, hadith 1072, and Ibn Majah, in the chapters on asceticism, in the chapter mentioning the grave and decay, hadith 4270, from the hadith of Ubaydullah bin Umar with the same chain, and it is in Kubra, hadith 2198, and it is agreed upon, see the previous hadith.