The Prophet (ﷺ) said, "A man's spending on his family is a deed of charity."
Sahih al-Bukhari Book 64, Hadith 57