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

Ubaidullah has reported this hadith with this chain of transmitters (and the Words are):

" There is a Jew behind me."
وَحَدَّثَنَاهُ مُحَمَّدُ بْنُ الْمُثَنَّى، وَعُبَيْدُ اللَّهِ بْنُ سَعِيدٍ، قَالاَ حَدَّثَنَا يَحْيَى، عَنْ عُبَيْدِ اللَّهِ، بِهَذَا الإِسْنَادِ ‏.‏ وَقَالَ فِي حَدِيثِهِ ‏ "‏ هَذَا يَهُودِيٌّ وَرَائِي ‏"‏ ‏.‏
Reference : Sahih Muslim 2921 b
In-book reference : Book 54, Hadith 102
USC-MSA web (English) reference : Book 41, Hadith 6982
  (deprecated numbering scheme)