It wasnarrated from Thawban that the Messenger of Allah (ﷺ) said:
"Thebest Dinar that a man can spend is a Dinar that he spends on hisfamily, a Dinar that he spends on a horse in the cause of Allah, andaDinar that a man spends on his companions in the cause of Allah." (FR)
English reference (FR): Vol. 4, Book 24, Hadith 2760 (FR)
Arabic reference (FR): Book 24, Hadith 2865 (FR)