47:28
ذٰلِكَ بِاَنَّهُمُ اتَّبَعُوا مَٓا اَسْخَطَ اللّٰهَ وَكَرِهُوا رِضْوَانَهُ فَاَحْبَطَ اَعْمَالَهُمْࣖ
Thalika biannahumu ittabaAAoo ma askhata Allaha wakarihoo ridwanahu faahbata aAAmalahum
Translations
That is because they followed what angered Allah and disliked [what earns] His pleasure, so He rendered worthless their deeds
Saheeh International
That will be because they followed that which angereth Allah, and hated that which pleaseth Him. Therefor He hath made their actions vain
Marmaduke Pickthall