Volume 1 · Book 2 · Hadith 52
The Prophet said, "If a man spends on his family (with the intention of having a reward from Allah) sincerely for Allah's sake then it is a (kind of) alms-giving in reward for him.
— Sahih Bukhari, Volume 1, Book 2: Belief, Hadith #52