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

Abu Musa reported Allah's Messenger (ﷺ) as saying:

There would come a time for the people when a person would roam about with Sadaqa of gold, but he would find no one to accept it from him. And a man would be seen followed by forty women seeking refuge with him on account of the scarcity of males and abundance of females."
وَحَدَّثَنَا عَبْدُ اللَّهِ بْنُ بَرَّادٍ الأَشْعَرِيُّ، وَأَبُو كُرَيْبٍ مُحَمَّدُ بْنُ الْعَلاَءِ قَالاَ حَدَّثَنَا أَبُو أُسَامَةَ عَنْ بُرَيْدٍ، عَنْ أَبِي بُرْدَةَ، عَنْ أَبِي مُوسَى، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ لَيَأْتِيَنَّ عَلَى النَّاسِ زَمَانٌ يَطُوفُ الرَّجُلُ فِيهِ بِالصَّدَقَةِ مِنَ الذَّهَبِ ثُمَّ لاَ يَجِدُ أَحَدًا يَأْخُذُهَا مِنْهُ وَيُرَى الرَّجُلُ الْوَاحِدُ يَتْبَعُهُ أَرْبَعُونَ امْرَأَةً يَلُذْنَ بِهِ مِنْ قِلَّةِ الرِّجَالِ وَكَثْرَةِ النِّسَاءِ ‏"‏ ‏.‏ وَفِي رِوَايَةِ ابْنِ بَرَّادٍ ‏"‏ وَتَرَى الرَّجُلَ ‏"‏ ‏.‏
Reference : Sahih Muslim 1012
In-book reference : Book 12, Hadith 75
USC-MSA web (English) reference : Book 5, Hadith 2207
  (deprecated numbering scheme)