Sahih Bukhari
Afflictions and the End of the World
Volume: 009 / Book Number: 088 / Hadith Number: 231
Narrated Abu Huraira:
The Prophet said, "The Hour will not be established till a man passes by a grave of somebody and says, 'Would that I were in his place.' "