Narrated 'Umar bin Al-Khattab
Allah's Messenger (ﷺ) said, "The reward of deeds depends upon the intention and every person will get the reward according to what he has intended. So whoever emigrated for Allah and His Apostle, then his emigration was for Allah and His Apostle. And whoever emigrated for worldly benefits or for a woman to marry, his emigration was for what he emigrated for."
Narrated Abu Mas'ud
The Prophet (ﷺ) said, "If a man spends on his family (with the intention of having a reward from Allah) sincerely for Allah's sake then it is a (kind of) alms-giving in reward for him.
Narrated Sa'd bin Abi Waqqas
Allah's Messenger (ﷺ) said, "You will be rewarded for whatever you spend for Allah's sake even if it were a morsel which you put in your wife's mouth."