From Sahih Bukhari (Hadith 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: Bukhari 1430