Quran 47:28 — Muhammad (Muhammad)
ذٰلِكَ بِأَنَّهُمُ اتَّبَعوا ما أَسخَطَ اللَّهَ وَكَرِهوا رِضوٰنَهُ فَأَحبَطَ أَعمٰلَهُم
This is because they followed what angered GOD and hated the things that please Him. Consequently, He has nullified their works.
[47:27] How will it be for them when the angels put them to death? They will beat them on their faces and their rear ends.
[47:29] Did those who harbor doubts in their hearts think that GOD will not bring out their evil thoughts?