Sunnah.com : Book 19, Hadith 14
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
والذي نفسي بيده لا تذهب الدنيا حتى يمر الرجل بالقبر، فيتمرغ عليه، ويقول: ياليتني مكان صاحب هذا القبر، وليس به الدين، ما به إلا البلاء"
Abu Hurairah (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "By Him in Whose Hand my soul is, the world will not come to an end until a man passes by a grave and will lie over it saying, 'Would that I were in this grave (i.e., dead)!' Not he will say so because of religious reasons but because of widespread mischief and severe trials of this world." [Al-Bukhari and Muslim].
Full reference and source
Sunnah.com : Book 19, Hadith 14 Arabic/English book : Book 19, Hadith 1821
View source on Sunnah.com (opens in a new tab)