Tafsir Ibn Kathir -> Surah Al-Ma'idah -> Among Allah's Favors is that He Prevented the Disbelievers from Fighting the Muslims

Allah said,

﴿يَـأَيُّهَآ الَّذِينَ ءَامَنُواْ اذْكُرُواْ نِعْمَةَ اللَّهِ عَلَيْكُمْ إِذْ هَمَّ قَوْمٌ أَن يَبْسُطُواْ إِلَيْكُمْ أَيْدِيَهُمْ فَكَفَّ أَيْدِيَهُمْ عَنكُمْ﴾

(O you who believe! Remember the favor of Allah unto you when some people desired (made a plan) to stretch out their hands against you, but (Allah) withheld their hands from you.) `Abdur-Razzaq recorded that Jabir said, "The Prophet once stayed at an area and the people spread out seeking shade under various trees. The Prophet hung his weapon on a tree, and a bedouin man came and took possession of the Prophet's weapon and held it aloft. He came towards the Prophet and said, `Who can protect you from me' He replied, `Allah, the Exalted, Most Honored.' The bedouin man repeated his question twice or thrice, each time the Prophet answering him by saying, `Allah.' The bedouin man then lowered the sword, and the Prophet called his Companions and told them what had happened while the bedouin was sitting next to him, for the Prophet did not punish him.' Ma`mar said that Qatadah used to mention that some Arabs wanted to have the Prophet killed, so they sent that bedouin. Qatadah would then mention this Ayah,

﴿اذْكُرُواْ نِعْمَةَ اللَّهِ عَلَيْكُمْ إِذْ هَمَّ قَوْمٌ أَن يَبْسُطُواْ إِلَيْكُمْ أَيْدِيَهُمْ﴾

(Remember the favor of Allah unto you when some people desired (made a plan) to stretch out their hands against you...) The story of this bedouin man, whose name is Ghawrath bin Al-Harith, is mentioned in the Sahih. Muhammad bin Ishaq bin Yasar, Mujahid and `Ikrimah said that this Ayah was revealed about Bani An-Nadir, who plotted to drop a stone on the head of the Messenger when he came to them for help to pay the blood money of two persons whom Muslims killed. The Jews left the execution of this plot to `Amr bin Jihash bin Ka`b and ordered him to throw a stone on the Prophet from above, when he came to them and sat under the wall. Allah told His Prophet about their plot, and he went back to Al-Madinah and his Companions followed him later on. Allah sent down this Ayah concerning this matter. Allah's statement,

﴿وَعَلَى اللَّهِ فَلْيَتَوَكَّلِ الْمُؤْمِنُونَ﴾

(And in Allah let the believers put their trust.) and those who do so, then Allah shall suffice for them and shall protect them from the evil plots of the people. Thereafter, Allah commanded His Messenger to expel Bani An-Nadir, and he laid siege to their area and forced them to evacuate Al-Madinah.

﴿وَلَقَدْ أَخَذَ اللَّهُ مِيثَـقَ بَنِى إِسْرَءِيلَ وَبَعَثْنَا مِنهُمُ اثْنَىْ عَشَرَ نَقِيباً وَقَالَ اللَّهُ إِنِّى مَعَكُمْ لَئِنْ أَقَمْتُمُ الصَّلوةَ وَءَاتَيْتُمْ الزَّكَوةَ وَءَامَنتُمْ بِرُسُلِى وَعَزَّرْتُمُوهُمْ وَأَقْرَضْتُمُ اللَّهَ قَرْضاً حَسَناً لأُكَفِّرَنَّ عَنْكُمْ سَيِّئَـتِكُمْ وَلأدْخِلَنَّكُمْ جَنَّـتٍ تَجْرِى مِن تَحْتِهَا الاٌّنْهَـرُ فَمَن كَفَرَ بَعْدَ ذَلِكَ مِنْكُمْ فَقَدْ ضَلَّ سَوَآءَ السَّبِيلِ - فَبِمَا نَقْضِهِم مِّيثَـقَهُمْ لَعنَّـهُمْ وَجَعَلْنَا قُلُوبَهُمْ قَاسِيَةً يُحَرِّفُونَ الْكَلِمَ عَن مَّوَضِعِهِ وَنَسُواْ حَظَّا مِّمَّا ذُكِرُواْ بِهِ وَلاَ تَزَالُ تَطَّلِعُ عَلَى خَآئِنَةٍ مِّنْهُمْ إِلاَّ قَلِيلاً مِّنْهُمُ فَاعْفُ عَنْهُمْ وَاصْفَحْ إِنَّ اللَّهَ يُحِبُّ الْمُحْسِنِينَ - وَمِنَ الَّذِينَ قَالُواْ إِنَّا نَصَـرَى أَخَذْنَا مِيثَـقَهُمْ فَنَسُواْ حَظّاً مِّمَّا ذُكِرُواْ بِهِ فَأَغْرَيْنَا بَيْنَهُمُ الْعَدَاوَةَ وَالْبَغْضَآءَ إِلَى يَوْمِ الْقِيَـمَةِ وَسَوْفَ يُنَبِّئُهُمُ اللَّهُ بِمَا كَانُواْ يَصْنَعُونَ ﴾

(12. Indeed, Allah took the covenant from the Children of Israel (Jews), and We appointed twelve leaders among them. And Allah said: "I am with you if you perform the Salah and give the Zakah and believe in My Messengers; honor and assist them, and lend to Allah a good loan, verily, I will remit your sins and admit you to Gardens under which rivers flow (in Paradise). But if any of you after this, disbelieved, he has indeed gone astray from the straight way.'') (13. So, because of their breach of their covenant, We cursed them and made their hearts grow hard. They changed the words from their (right) places and have abandoned a good part of the Message that was sent to them. And you will not cease to discover deceit in them, except a few of them. But forgive them and overlook (their misdeeds). Verily, Allah loves the doers of good.) (14. And from those who call themselves Christians, We took their covenant, but they have abandoned a good part of the Message that was sent to them. So We planted amongst them enmity and hatred till the Day of Resurrection; and Allah will inform them of what they used to do.)