Earning and spending wealth

Like all aspects of life, trade, if done honestly and fairly can be, a form of devotion to God. If it is done unethically and unjustly it can be a source of distancing oneself from God. The Prophet (p) taught a great deal on ethical trading.

An honest and trustworthy merchant will be [raised] with the Prophets, the truthful and the martyrs.

Source: At-Tirmidhi Hadith Collection

Although the necessity of trade is recognized in Islam, the hoarding of wealth is discouraged. The best wealth is spent on caring for your family, the needy, and society at large.

The example is that of the Prophet (p) who died with only a pillow and a sack of barley in his possession.

Riches do not mean, having a great amount of property, but riches are self-contentment.

Source: Bukhari Hadith Collection

Before becoming a trader, Muhammad (p), was a shepherd, like Moses and David before him. Familiar training it would seem for those destined to fulfill the role of Prophet Hood.