Al-Baqarah 2:271
إِن تُبْدُوا۟ ٱلصَّدَقَـٰتِ فَنِعِمَّا هِىَ ۖ وَإِن تُخْفُوهَا وَتُؤْتُوهَا ٱلْفُقَرَآءَ فَهُوَ خَيْرٌ لَّكُمْ ۚ وَيُكَفِّرُ عَنكُم مِّن سَيِّـَٔاتِكُمْ ۗ وَٱللَّهُ بِمَا تَعْمَلُونَ خَبِيرٌ
In tubdoo assadaqatifaniAAimma hiya wa-in tukhfooha watu/toohaalfuqaraa fahuwa khayrun lakum wayukaffiru AAankum minsayyi-atikum wallahu bimataAAmaloona khabeer
If you disclose your charitable expenditures, they are good; but if you conceal them and give them to the poor, it is better for you, and He will remove from you some of your misdeeds [thereby]. And Allāh, of what you do, is [fully] Aware.
If you make Sadaqāt (alms) openly, it is good enough, and if you keep it secret and give it to the needy, it is much better for you, and this will write off part of your sins. Allah is All-Aware of what you do.