12:24
وَ لَ قَدْ هَمَّتْ بِ هِۦ وَ هَمَّ بِ هَا لَوْلَآ أَن رَّءَا بُرْهَٰنَ رَبِّ هِۦ كَ ذَٰلِكَ لِ نَصْرِفَ عَنْ هُ ٱل سُّوٓءَ وَ ٱلْ فَحْشَآءَ إِنَّ هُۥ مِنْ عِبَادِ نَا ٱلْ مُخْلَصِينَ
And she certainly determined [to seduce] him, and he would have inclined to her had he not seen the proof of his Lord. And thus [it was] that We should avert from him evil and immorality. Indeed, he was of Our chosen servants.
3:122
إِذْ هَمَّت طَّآئِفَتَانِ مِن كُمْ أَن تَفْشَلَ ا وَ ٱللَّهُ وَلِيُّ هُمَا وَ عَلَى ٱللَّهِ فَ لْ يَتَوَكَّلِ ٱلْ مُؤْمِنُونَ
When two parties among you were about to lose courage, but Allah was their ally; and upon Allah the believers should rely.
40:5
كَذَّبَتْ قَبْلَ هُمْ قَوْمُ نُوحٍ وَ ٱلْ أَحْزَابُ مِنۢ بَعْدِ هِمْ وَ هَمَّتْ كُلُّ أُمَّةٍۭ بِ رَسُولِ هِمْ لِ يَأْخُذُ و هُ وَ جَٰدَلُ وا۟ بِ ٱلْ بَٰطِلِ لِ يُدْحِضُ وا۟ بِ هِ ٱلْ حَقَّ فَ أَخَذْ تُ هُمْ فَ كَيْفَ كَانَ عِقَابِ
The people of Noah denied before them and the [disbelieving] factions after them, and every nation intended [a plot] for their messenger to seize him, and they disputed by [using] falsehood to [attempt to] invalidate thereby the truth. So I seized them, and how [terrible] was My penalty.
4:113
وَ لَوْلَا فَضْلُ ٱللَّهِ عَلَيْ كَ وَ رَحْمَتُ هُۥ لَ هَمَّت طَّآئِفَةٌ مِّنْ هُمْ أَن يُضِلُّ و كَ وَ مَا يُضِلُّ ونَ إِلَّآ أَنفُسَ هُمْ وَ مَا يَضُرُّ ونَ كَ مِن شَىْءٍ وَ أَنزَلَ ٱللَّهُ عَلَيْ كَ ٱلْ كِتَٰبَ وَ ٱلْ حِكْمَةَ وَ عَلَّمَ كَ مَا لَمْ تَكُن تَعْلَمُ وَ كَانَ فَضْلُ ٱللَّهِ عَلَيْ كَ عَظِيمًا
And if it was not for the favor of Allah upon you, [O Muhammad], and His mercy, a group of them would have determined to mislead you. But they do not mislead except themselves, and they will not harm you at all. And Allah has revealed to you the Book and wisdom and has taught you that which you did not know. And ever has the favor of Allah upon you been great.
5:11
يَٰٓ أَيُّهَا ٱلَّذِينَ ءَامَنُ وا۟ ٱذْكُرُ وا۟ نِعْمَتَ ٱللَّهِ عَلَيْ كُمْ إِذْ هَمَّ قَوْمٌ أَن يَبْسُطُ وٓا۟ إِلَيْ كُمْ أَيْدِيَ هُمْ فَ كَفَّ أَيْدِيَ هُمْ عَن كُمْ وَ ٱتَّقُ وا۟ ٱللَّهَ وَ عَلَى ٱللَّهِ فَ لْ يَتَوَكَّلِ ٱلْ مُؤْمِنُونَ
O you who have believed, remember the favor of Allah upon you when a people determined to extend their hands [in aggression] against you, but He withheld their hands from you; and fear Allah. And upon Allah let the believers rely.
9:13
أَ لَا تُقَٰتِلُ ونَ قَوْمًا نَّكَثُ وٓا۟ أَيْمَٰنَ هُمْ وَ هَمُّ وا۟ بِ إِخْرَاجِ ٱل رَّسُولِ وَ هُم بَدَءُ و كُمْ أَوَّلَ مَرَّةٍ أَ تَخْشَ وْنَ هُمْ فَ ٱللَّهُ أَحَقُّ أَن تَخْشَ وْ هُ إِن كُن تُم مُّؤْمِنِينَ
Would you not fight a people who broke their oaths and determined to expel the Messenger, and they had begun [the attack upon] you the first time? Do you fear them? But Allah has more right that you should fear Him, if you are [truly] believers.
9:74
يَحْلِفُ ونَ بِ ٱللَّهِ مَا قَالُ وا۟ وَ لَ قَدْ قَالُ وا۟ كَلِمَةَ ٱلْ كُفْرِ وَ كَفَرُ وا۟ بَعْدَ إِسْلَٰمِ هِمْ وَ هَمُّ وا۟ بِ مَا لَمْ يَنَالُ وا۟ وَ مَا نَقَمُ وٓا۟ إِلَّآ أَنْ أَغْنَىٰ هُمُ ٱللَّهُ وَ رَسُولُ هُۥ مِن فَضْلِ هِۦ فَ إِن يَتُوبُ وا۟ يَكُ خَيْرًا لَّ هُمْ وَ إِن يَتَوَلَّ وْا۟ يُعَذِّبْ هُمُ ٱللَّهُ عَذَابًا أَلِيمًا فِى ٱل دُّنْيَا وَ ٱلْ ءَاخِرَةِ وَ مَا لَ هُمْ فِى ٱلْ أَرْضِ مِن وَلِىٍّ وَ لَا نَصِيرٍ
They swear by Allah that they did not say [anything against the Prophet] while they had said the word of disbelief and disbelieved after their [pretense of] Islam and planned that which they were not to attain. And they were not resentful except [for the fact] that Allah and His Messenger had enriched them of His bounty. So if they repent, it is better for them; but if they turn away, Allah will punish them with a painful punishment in this world and the Hereafter. And there will not be for them on earth any protector or helper.