Muslim spending on his family intending to receive Allah’s Reward

When a Muslim spends something on his family intending to receive Allah's Reward, it is regarded as Sadaqa for him [Bukhari]