Vaisesika Sūtras
Vaisesika Sūtra 6.1.03
Giving or charity is preceded by intention combined with knowledge.