Sahih al-Bukhari 1411
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:
I heard the Prophet (ﷺ) saying, "O people! Give in charity as a time will come upon you when a person will wander about with his object of charity and will not find anybody to accept it, and one (who will be requested to take it) will say, "If you had brought it yesterday, would have taken it, but today I am not in need of it."
Full reference and source
Sahih al-Bukhari 1411 In-book : Book 24, Hadith 15 USC-MSA web (English) : Vol. 2, Book 24, Hadith 492 (deprecated)
View source on Sunnah.com (opens in a new tab)