Hadith 157

Abu Huraira reported Allah's Messenger (may peace be upon him) as saying: The Last Hour would not come until a person would pass by a grave of another person and he would say: I wish it had been my abode.

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكِ بْنِ أَنَسٍ، فِيمَا قُرِئَ عَلَيْهِ عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ لاَ تَقُومُ السَّاعَةُ حَتَّى يَمُرَّ الرَّجُلُ بِقَبْرِ الرَّجُلِ فَيَقُولُ يَا لَيْتَنِي مَكَانَهُ ‏"‏ ‏.‏

Reference: 375230
In-book reference: Book 54, Hadith 157 k
Hadith 157 - The Book of Paradise, its Description, its Bounties and its Inhabitants - Sahih Muslim - Sunnah.com