Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: "Allah Almighty has already decreed four things: creation, character and habits, sustenance, and lifespan, so no person can acquire any of these from another. Giving charity is permissible, whether it has been taken into possession or not."
Hadith Referenceسنن الدارقطني / كتاب الرضاع / 4390