Surah Muhammad

47:32

إِنَّ ٱلَّذِينَ كَفَرُوا۟ وَصَدُّوا۟ عَن سَبِيلِ ٱللَّهِ وَشَآقُّوا۟ ٱلرَّسُولَ مِنۢ بَعْدِ مَا تَبَيَّنَ لَهُمُ ٱلْهُدَىٰ لَن يَضُرُّوا۟ ٱللَّهَ شَيْـًۭٔا وَسَيُحْبِطُ أَعْمَٰلَهُمْ

Indeed, those who disbelieved and averted [people] from the path of Allah and opposed the Messenger after guidance had become clear to them - never will they harm Allah at all, and He will render worthless their deeds.

Tafsir 47:32

Those who reject Allah and His messenger, who abstain from Allah’s religion themselves and also prevent others from it, and who go against the Messenger and oppose him after it has become clear that he is a prophet, they do not harm Allah. They only harm themselves, and Allah will nullify their deeds.