Uqba bin Amir reported,

We were in a gathering when the Prophet ﷺ came in with traces of water on his head. One of us said to him, "We see you in good spirits today."He replied, "Indeed, and praise be to Allah."Then the people went on at length about wealth, so he said, "There is no harm in wealth for one who is mindful of Allah. Good health for one who is mindful of Allah is better than wealth, and a cheerful soul is among the blessings."

Ibn Majah 2141

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا خالد بن مخلد حدثنا عبد الله بن سليمان

عن معاذ بن عبد الله بن خبيب عن أبيه عن عمه قال

كنا في مجلس فجاء النبي ﷺ وعلى رأسه أثر ماء فقال له بعضنا نراك اليوم طيب النفس فقال أجل والحمد لله ثم أفاض القوم في ذكر الغنى فقال لا بأس بالغنى لمن اتقى والصحة لمن اتقى خير من الغنى وطيب النفس من النعيم

ابن ماجه 2141صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Trade
Chapter
Encouragement to earn a living
Numbering
Darussalam 2141
Ibn Majah 2141