It is narrated from Hazrat Abu Mas'ud (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: When a Muslim spends something on his family and intends to earn reward, then that spending is also charity.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 22347