Dalil

Quran As-Saf 61:5

وَإِذۡ قَالَ مُوسَىٰ لِقَوۡمِهِۦ يَٰقَوۡمِ لِمَ تُؤۡذُونَنِي وَقَد تَّعۡلَمُونَ أَنِّي رَسُولُ ٱللَّهِ إِلَيۡكُمۡۖ فَلَمَّا زَاغُوٓاْ أَزَاغَ ٱللَّهُ قُلُوبَهُمۡۚ وَٱللَّهُ لَا يَهۡدِي ٱلۡقَوۡمَ ٱلۡفَٰسِقِينَ

Translation

And [mention, O Muḥammad], when Moses said to his people, "O my people, why do you harm me while you certainly know that I am the messenger of Allāh to you?" And when they deviated, Allāh caused their hearts to deviate. And Allāh does not guide the defiantly disobedient people.