The Cow - 2:272
It is not for you to guide them to the truth. But Allah guides whom He wills. Whatever good you do to the needy is for your own benefit. Your charity should be for Allah alone. Whatever good you do will be repaid to you in full. You will not be wronged.
What is the intention?
The Night/92:18
He who cleanses himself by giving his wealth;
Prophet Hud/11:114
Observe the prayer at both ends of the day and the close part of the night. The good deeds wipe away the evil deeds. This is an admonition for those who will take admonition.
The Cow/2:271
How good it would be if you revealed your charity. But it is better if you hide them and give them to the needy, and that will cover some of your sins. Allah is aware of what you do.