كتاب الفتن وأشراط الساعة
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 2913 b

This hadith hab been narrated by Sa'id with the same chain of transmitters.

وَحَدَّثَنَا ابْنُ الْمُثَنَّى، حَدَّثَنَا عَبْدُ الْوَهَّابِ، حَدَّثَنَا سَعِيدٌ، - يَعْنِي الْجُرَيْرِيَّ - بِهَذَا الإِسْنَادِ نَحْوَهُ ‏.‏
Reference : Sahih Muslim 2913b
In-book reference : Book 54, Hadith 82
USC-MSA web (English) reference : Book 41, Hadith 6962
  (deprecated numbering scheme)