Sahih Muslim Book 41, Hadith Number 6968.
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 transmitted on the authority of Umm Salama that Allah’s Messenger (may peace be upon him) said to ‘Ammar: A group of rebels would kill you.