Sahih al-Bukhari 1424
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
تَصَدَّقُوا، فَسَيَأْتِي عَلَيْكُمْ زَمَانٌ يَمْشِي الرَّجُلُ بِصَدَقَتِهِ فَيَقُولُ الرَّجُلُ لَوْ جِئْتَ بِهَا بِالأَمْسِ لَقَبِلْتُهَا مِنْكَ، فَأَمَّا الْيَوْمَ فَلاَ حَاجَةَ لِي فِيهَا "
Narrated Haritha bin Wahab Al-Khuza`i:
I heard the Prophet (ﷺ) saying, "(O people!) Give in charity (for Allah's cause) because a time will come when a person will carry his object of charity from place to place (and he will not find any person to take it) and any person whom he shall request to take it, I will reply, 'If you had brought it yesterday I would have taken it, but today I am not in need of it."
Full reference and source
Sahih al-Bukhari 1424 In-book : Book 24, Hadith 28 USC-MSA web (English) : Vol. 2, Book 24, Hadith 505 (deprecated)
View source on Sunnah.com (opens in a new tab)