From Sahih Bukhari (Hadith 7120):
Narrated Haritha bin Wahb:I heard Allah's Messenger (ﷺ) saying, "Give in charity because there will come a time on the people when a person will go out with his alms from place to place but will not find anybody to accept it
Reference: Bukhari 7120