This hadith has been transmitted on the authority of Abu Huraira with a slight variation…

Sahih Muslim Book 54 Hadith 109

Sahih Muslim #157 m

The Book of Tribulations and Portents of the Last Hour 54:109

This hadith has been transmitted on the authority of Abu Huraira with a slight variation of wording.

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

Grade: Sahih