Surah Al-Ahzaab

33:57

إِنَّ ٱلَّذِينَ يُؤْذُونَ ٱللَّهَ وَرَسُولَهُۥ لَعَنَهُمُ ٱللَّهُ فِى ٱلدُّنْيَا وَٱلْءَاخِرَةِ وَأَعَدَّ لَهُمْ عَذَابًۭا مُّهِينًۭا

Indeed, those who abuse Allah and His Messenger - Allah has cursed them in this world and the Hereafter and prepared for them a humiliating punishment.

Tafsir 33:57

Indeed, those who attempt to bring harm to Allah and His messenger through speech or action, Allah will distance them from the vastness of His mercy in the world and the Hereafter, and He has prepared a humiliating punishment for them in the Hereafter.