It was narrated from Mu'adh bin 'Abdullah bin Khubaib, from his father, that his paternal uncle said:
"We were sitting in a gathering, and the Prophet (ﷺ) came with traces of water on his head. One of us said to him: 'We see that you are of good cheer today.' He said: 'Yes, praise is to Allah.' Then he spoke to the people about being rich. He said: 'There is nothing wrong with being rich for one who has piety, but good health for one who has piety is better than riches, and being of good cheer is a blessing."
English reference: Vol. 3, Book 12, Hadith 2141
Arabic reference: Book 12, Hadith 2224