Sure Muhammad

47:9

ذَٰلِكَ بِأَنَّهُمْ كَرِهُوا۟ مَآ أَنزَلَ ٱللَّهُ فَأَحْبَطَ أَعْمَٰلَهُمْ

Dies, weil ihnen zuwider ist, was Allah (als Offenbarung) herabgesandt hat, und so läßt Er ihre Werke hinfällig werden.

Tafsir 47:9

That punishment that will befall them is because they detested the Qur’ān that Allah revealed to His prophet because it contained the mention of Allah’s Oneness, so Allah destroyed their deeds and they were losers in the world and the Hereafter.