(18) بَاب لَا تَقُومُ السَّاعَةُ حَتَّى يَمُرَّ الرَّجُلُ بِقَبْرِ الرَّجُلِ فَيَتَمَنَّى أَنْ يَكُونَ مَكَانَ الْمَيِّتِ مِنْ الْبَلَاءِ
This hadith has been narrated on the authority of Umm Salama through another chain of transmitters.
Reference: Sahih Muslim 2916 b
In-book reference: Book 54, Hadith 89
USC-MSA web (English) reference(deprecated numbering scheme): Book 41, Hadith 6969