Surah Al-Baqara, Verse 264
Translation — Sahih International
O you who have believed, do not invalidate your charities with reminders or injury as does one who spends his wealth [only] to be seen by the people and does not believe in Allah and the Last Day. His example is like that of a [large] smooth stone upon which is dust and is hit by a downpour that leaves it bare. They are unable [to keep] anything of what they have earned. And Allah does not guide the disbelieving people.
Source
Kur'an-ı Kerim, Bakara Suresi 2:264
https://kuran.diyanet.gov.tr/mushaf/kuran-meal-2/2-suresi-264-ayet