Mu'adh b. 'Abdullah b. Habib al-Juhani heard the following from his father and uncle:

Allah's Messenger (Peace and blessing of Allah be upon him) came out one day to the Companions looking very cheerful and as though he had just had a bath. They thought he must have had intercourse with his wife and said to him: "Messenger of Allah! You are looking happy." He said: "Yes, and praise be to Allah." Then the subject of wealth was mentioned and the Messenger of Allah (Peace and blessing of Allah be upon him) said: "There is nothing wrong with wealth for someone who is mindful of Allah. However, good health for such a person is better than wealth, and a cheerful disposition is a gift [from Allah]."

Imam al-Bukhari, Moral Teachings of Islam by Abdul Ali Hamid, translator