Sura Al-Baqara

2:271

إِن تُبْدُوا۟ ٱلصَّدَقَٰتِ فَنِعِمَّا هِىَ ۖ وَإِن تُخْفُوهَا وَتُؤْتُوهَا ٱلْفُقَرَآءَ فَهُوَ خَيْرٌۭ لَّكُمْ ۚ وَيُكَفِّرُ عَنكُم مِّن سَيِّـَٔاتِكُمْ ۗ وَٱللَّهُ بِمَا تَعْمَلُونَ خَبِيرٌۭ

Om ni ger så att andra ser det är det gott och väl; men om ni hjälper de fattiga i tysthet är det bättre för er - med detta kan ni nämligen få göra bot för några av era dåliga handlingar. Gud är väl underrättad om allt vad ni gör.

Tafsir 2:271

If you openly declare what you spend in charity, it is a good act. But if you keep it secret and give it to the poor in private, this is better as it indicates sincerity. Charity that is given sincerely becomes the means of sins being covered up and forgiven. Allah knows what you do and nothing from your circumstances is hidden from Him.