Sure An-Nisaa

4:39

وَمَاذَا عَلَيْهِمْ لَوْ ءَامَنُوا۟ بِٱللَّهِ وَٱلْيَوْمِ ٱلْءَاخِرِ وَأَنفَقُوا۟ مِمَّا رَزَقَهُمُ ٱللَّهُ ۚ وَكَانَ ٱللَّهُ بِهِمْ عَلِيمًا

Was würde es ihnen denn ausmachen, wenn sie an Allah und den Jüngsten Tag glaubten und von dem, womit Allah sie versorgt hat, ausgäben? Aber Allah weiß über sie wohl Bescheid.

Tafsir 4:39

What harm would it have done these people if they had faith in Allah and the Last Day and had spent their wealth for Allah’s sake, being sincere to Him? Rather, they would have received everything that is good by doing so. Allah has full knowledge of them. Nothing about them is hidden from Him and everyone will be rewarded according to what they do.