When a man spends to support his family hoping (for Allah’s reward) it is counted for him as sadaqah. Bukhari,Muslim