كتاب الفتن وأشراط الساعة
54  
The Book of Tribulations and Portents of the Last Hour
(18)
Chapter: The Hour Will Not Begin Until A Man Passes By Another Man's Grave And Wishes That He Was In The Place Of The Deceased, Because Of Calamity
(18)
بَاب لَا تَقُومُ السَّاعَةُ حَتَّى يَمُرَّ الرَّجُلُ بِقَبْرِ الرَّجُلِ فَيَتَمَنَّى أَنْ يَكُونَ مَكَانَ الْمَيِّتِ مِنْ الْبَلَاءِ
Sahih Muslim 2914

Abu Sa'id reported that Allah's Messenger (may peace he upon him) I said:

There would be amongst your caliphs a caliph who would give handfuls of wealth to the people, but would not count it. In the narration transmitted on the authority of Ibn Hujr, there is a slight variation of wording.
حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا بِشْرٌ يَعْنِي ابْنَ الْمُفَضَّلِ، ح وَحَدَّثَنَا عَلِيُّ، بْنُ حُجْرٍ السَّعْدِيُّ حَدَّثَنَا إِسْمَاعِيلُ، - يَعْنِي ابْنَ عُلَيَّةَ - كِلاَهُمَا عَنْ سَعِيدِ بْنِ يَزِيدَ، عَنْ أَبِي نَضْرَةَ، عَنْ أَبِي سَعِيدٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مِنْ خُلَفَائِكُمْ خَلِيفَةٌ يَحْثُو الْمَالَ حَثْيًا لاَ يَعُدُّهُ عَدَدًا ‏"‏ ‏.‏ وَفِي رِوَايَةِ ابْنِ حُجْرٍ ‏"‏ يَحْثِي الْمَالَ ‏"‏ ‏.‏
Reference : Sahih Muslim 2914
In-book reference : Book 54, Hadith 83
USC-MSA web (English) reference : Book 41, Hadith 6963
  (deprecated numbering scheme)