Surah At-Tawbah, ayah 54

9:54

وَمَا مَنَعَهُمۡ أَن تُقۡبَلَ مِنۡهُمۡ نَفَقَٰتُهُمۡ إِلَّآ أَنَّهُمۡ كَفَرُواْ بِٱللَّهِ وَبِرَسُولِهِۦ وَلَا يَأۡتُونَ ٱلصَّلَوٰةَ إِلَّا وَهُمۡ كُسَالَىٰ وَلَا يُنفِقُونَ إِلَّا وَهُمۡ كَٰرِهُونَ ٥٤

Wamā mana'ahum an tuqbala minhum nafaqātuhum illā annahum kafarū billāhi wabirasūlihī walā ya'tūnas-salawāta illā wahum kusālā walā yunfiqūna illā wahum kārihūn

And what prevents their expenditures from being accepted from them but that they have disbelieved in Allāh and in His Messenger and that they come not to prayer except while they are lazy and that they do not spend except while they are unwilling.