Language:
كتاب الزكاة
24  
Obligatory Charity Tax (Zakat)
(20)
Chapter: Whoever loves to give something in charity on the very day (he receives his earnings)
(20)
باب مَنْ أَحَبَّ تَعْجِيلَ الصَّدَقَةِ مِنْ يَوْمِهَا
Sahih al-Bukhari 1430

Narrated `Uqba bin Al-Harith:

Once the Prophet (ﷺ) offered the `Asr prayer and then hurriedly went to his house and returned immediately. I (or somebody else) asked him (as to what was the matter) and he said, "I left at home a piece of gold which was from the charity and I disliked to let it remain a night in my house, so I got it distributed . "

حَدَّثَنَا أَبُو عَاصِمٍ، عَنْ عُمَرَ بْنِ سَعِيدٍ، عَنِ ابْنِ أَبِي مُلَيْكَةَ، أَنَّ عُقْبَةَ بْنَ الْحَارِثِ ـ رضى الله عنه ـ حَدَّثَهُ قَالَ صَلَّى بِنَا النَّبِيُّ صلى الله عليه وسلم الْعَصْرَ، فَأَسْرَعَ ثُمَّ دَخَلَ الْبَيْتَ، فَلَمْ يَلْبَثْ أَنْ خَرَجَ، فَقُلْتُ أَوْ قِيلَ لَهُ فَقَالَ ‏ "‏ كُنْتُ خَلَّفْتُ فِي الْبَيْتِ تِبْرًا مِنَ الصَّدَقَةِ، فَكَرِهْتُ أَنْ أُبَيِّتَهُ فَقَسَمْتُهُ ‏"‏‏.‏
Reference : Sahih al-Bukhari 1430
In-book reference : Book 24, Hadith 33
USC-MSA web (English) reference : Vol. 2, Book 24, Hadith 510
  (deprecated numbering scheme)