Sahih al-Bukhari, Book 64, Hadith 57 (Bukhari 3841)

Narrated Abu Masud Al-Badri:

The Prophet (ﷺ) said, "A man's spending on his family is a deed of charity."