It was narrated from Abu Mas'ud that the Prophet said:
"When a man spends on his family, seeking reward for that, that is an act of charity on his part."