Sahih Muslim Book 41, Hadith Number 6964.

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.

Abu Sa’id and Jabir b. Abdullah reported that Allah’s Messenger (may peace be upon him) said: There would be in the last phase of the time a caliph who would distribute wealth but would not count.