كتاب الفتن وأشراط الساعة
54  
The Book of Tribulations and Portents of the Last Hour
(18)
Chapter: The Hour Will Not Begin Until A Man Passes By Another Man's Grave And Wishes That He Was In The Place Of The Deceased, Because Of Calamity
(18)
بَاب لَا تَقُومُ السَّاعَةُ حَتَّى يَمُرَّ الرَّجُلُ بِقَبْرِ الرَّجُلِ فَيَتَمَنَّى أَنْ يَكُونَ مَكَانَ الْمَيِّتِ مِنْ الْبَلَاءِ
Sahih Muslim 2923 b

This hadith has been narrated on the authority of Simak with the same chain of transmitters. and Simak said:

I heard my brother say that jabir had stated: Be on your guard against them.
وَحَدَّثَنِي ابْنُ الْمُثَنَّى، وَابْنُ، بَشَّارٍ قَالاَ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، عَنْ سِمَاكٍ، بِهَذَا الإِسْنَادِ مِثْلَهُ ‏.‏ قَالَ سِمَاكٌ وَسَمِعْتُ أَخِي، يَقُولُ قَالَ جَابِرٌ فَاحْذَرُوهُمْ ‏.‏
Reference : Sahih Muslim 2923b
In-book reference : Book 54, Hadith 105
USC-MSA web (English) reference : Book 41, Hadith 6987
  (deprecated numbering scheme)