The Messenger of Allah ﷺ entered his place of prayer and saw some people who appeared to be laughing and showing their teeth. He said, "If only you remembered often the destroyer of pleasures, it would distract you from what I see. So remember often the destroyer of pleasures, death. For not a day passes upon the grave except that it speaks within it, saying, 'I am the house of estrangement, I am the house of loneliness, I am the house of dust, I am the house of worms.'When the believing servant is buried, the grave says to him, 'Welcome, and greetings. Indeed, you were among those I loved most to walk upon my back. Now that you have been entrusted to me today and have come to me, you shall see how I treat you.' Then it expands for him as far as his eye can see, and a door is opened for him to Paradise.But when the wicked or disbelieving servant is buried, the grave says to him, 'No welcome, no greetings. You were among those I hated most to walk upon my back. Now that you have been entrusted to me today and have come to me, you shall see how I treat you.' Then it closes in upon him until it meets over him and his ribs interlock."The narrator said, the Messenger of Allah ﷺ gestured with his fingers, interlocking some of them with the others.He continued, "And Allah appoints over him seventy serpents. If one of them were to breathe upon the earth, nothing would grow upon it as long as the world remains. They will tear at him and claw at him until he is brought to the reckoning."The Messenger of Allah ﷺ then said, "The grave is but a garden from the gardens of Paradise, or a pit from the pits of the Fire."
حدثنا محمد بن أحمد بن مدويه حدثنا القاسم بن الحكم العرني حدثنا عبيد الله بن الوليد الوصافي عن عطية
دخل رسول الله ﷺ مصلاه فرأى ناسا كأنهم يكتشرون قال أما إنكم لو أكثرتم ذكر هاذم اللذات لشغلكم عما أرى فأكثروا من ذكر هاذم اللذات الموت فإنه لم يأت على القبر يوم إلا تكلم فيه فيقول أنا بيت الغربة وأنا بيت الوحدة وأنا بيت التراب وأنا بيت الدود فإذا دفن العبد المؤمن قال له القبر مرحبا وأهلا أما إن كنت لأحب من يمشي على ظهري إلي فإذ وليتك اليوم وصرت إلي فسترى صنيعي بك قال فيتسع له مد بصره ويفتح له باب إلى الجنة وإذا دفن العبد الفاجر أو الكافر قال له القبر لا مرحبا ولا أهلا أما إن كنت لأبغض من يمشي على ظهري إلي فإذ وليتك اليوم وصرت إلي فسترى صنيعي بك قال فيلتئم عليه حتى يلتقي عليه وتختلف أضلاعه قال قال رسول الله ﷺ بأصابعه فأدخل بعضها في جوف بعض قال ويقيض الله له سبعين تنينا لو أن واحدا منها نفخ في الأرض ما أنبتت شيئا ما بقيت الدنيا فينهشنه ويخدشنه حتى يفضى به إلى الحساب قال قال رسول الله ﷺ إنما القبر روضة من رياض الجنة أو حفرة من حفر النار
[Its chain of transmission is daif] Bayhaqi narrated it in Shuab al-Iman, 1/498, 499, no. 828, from the hadith of Qasim bin Hakam, in a shortened form, through the same route.Ubaydullah bin Walid is daif (Taqrib), and Atiya is well known as daif. Some parts of the hadith have supporting evidence, see no. 2307.