Aslam

Surah Muhammad — 47:9
ذَٰلِكَ بِأَنَّهُمۡ كَرِهُواْ مَآ أَنزَلَ ٱللَّهُ فَأَحۡبَطَ أَعۡمَٰلَهُمۡ
That is because they detest what Allah has revealed, so He has rendered their deeds void.

Commentary

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.

Read Tafsir Ibn Kathir