Abu Hurairah reported,

The Messenger of Allah ﷺ said, "By the One in whose hand my soul rests, the world will not come to an end until a man will pass by a grave, roll himself upon it, and say, 'How I wish I were in the place of the one buried here.' It will not be religion that drives him to this, but only the severity of affliction."

Ibn Majah 4037

Sahih

حدثنا واصل بن عبد الأعلى حدثنا محمد بن فضيل عن أبي إسمعيل الأسلمي عن أبي حازم

عن أبي هريرة قال

قال رسول الله ﷺ والذي نفسي بيده لا تذهب الدنيا حتى يمر الرجل على القبر فيتمرغ عليه ويقول يا ليتني كنت مكان صاحب هذا القبر وليس به الدين إلا البلاء

ابن ماجه 4037صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Tribulations
Chapter
Severity of times
Numbering
Darussalam 4037
Ibn Majah 4037