Sure Al-Ahzaab

33:57

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

Diejenigen, die Allah und Seinem Gesandten Leid zufügen, verflucht Allah im Diesseits und Jenseits, und für sie hat Er schmachvolle Strafe bereitet.

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.