Sahih Muslim Book 41, Hadith Number 6987.

Chapter : The Last Hour would not come until a person would pass by a grave and wish that he should have been the occupant of that grave because of this calamity.

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.