Volume 9 · Book 88 · Hadith 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.' "
— Sahih Bukhari, Volume 9, Book 88: Afflictions and the End of the World, Hadith #231