كتاب الزكاة
12  
The Book of Zakat
(18)
Chapter: Encouragement to give charity before there is no one to accept it
(18)
باب التَّرْغِيبِ فِي الصَّدَقَةِ قَبْلَ أَنْ لاَ يُوجَدَ مَنْ يَقْبَلُهَا ‏‏
Sahih Muslim 1013

Abu Huraira reported Allah's Messenaer (ﷺ) as saying:

The earth will vomit long pieces of its liver like columns of gold and silver, and the murderer will come and say: It was for this that I committed murder. The breaker of family ties will come and say: It was for this that I broke the family ties; and the thief will come and say: It is for this that my hands were cut off. They will then leave it and will not take anything out of it.
وَحَدَّثَنَا وَاصِلُ بْنُ عَبْدِ الأَعْلَى، وَأَبُو كُرَيْبٍ وَمُحَمَّدُ بْنُ يَزِيدَ الرِّفَاعِيُّ - وَاللَّفْظُ لِوَاصِلٍ - قَالُوا حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ، عَنْ أَبِيهِ، عَنْ أَبِي حَازِمٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ تَقِيءُ الأَرْضُ أَفْلاَذَ كَبِدِهَا أَمْثَالَ الأُسْطُوَانِ مِنَ الذَّهَبِ وَالْفِضَّةِ فَيَجِيءُ الْقَاتِلُ فَيَقُولُ فِي هَذَا قَتَلْتُ ‏.‏ وَيَجِيءُ الْقَاطِعُ فَيَقُولُ فِي هَذَا قَطَعْتُ رَحِمِي ‏.‏ وَيَجِيءُ السَّارِقُ فَيَقُولُ فِي هَذَا قُطِعَتْ يَدِي ثُمَّ يَدَعُونَهُ فَلاَ يَأْخُذُونَ مِنْهُ شَيْئًا ‏"‏ ‏.‏
Reference : Sahih Muslim 1013
In-book reference : Book 12, Hadith 78
USC-MSA web (English) reference : Book 5, Hadith 2210
  (deprecated numbering scheme)