Sahih Muslim | Book 5 | Hadith Number 2192

Narrated by Abu Mas'ud
Abu Mas'ud reported Allah's Messenger (way peace be upon him) as saying: When a Muslim spends on his family seeking reward for it from Allah, it counts for him as sadaqa.