يأَيُّهَا الَّذِينَ ءَامَنُواْ اذْكُرُواْ نِعْمَةَ اللَّهِ عَلَيْكُمْ إِذْ جَآءَتْكُمْ جُنُودٌ فَأَرْسَلْنَا عَلَيْهِمْ رِيحاً وَجُنُوداً لَّمْ تَرَوْهَا وَكَانَ اللَّهُ بِمَا تَعْمَلُونَ بَصِيراً - إِذْ جَآءُوكُمْ مِّن فَوْقِكُمْ وَمِنْ أَسْفَلَ مِنكُمْ وَإِذْ زَاغَتِ الاٌّبْصَـرُ وَبَلَغَتِ الْقُلُوبُ الْحَنَاجِرَ وَتَظُنُّونَ بِاللَّهِ الظُّنُونَاْ
9. O you who believe! Remember Allah's favor to you, when there came against you hosts, and We sent against them a wind and forces that you saw not. And Allah is Ever All-Seer of what you do. 10. When they came upon you from above you and from below you, and when the eyes grew wild and the hearts reached to the throats, and you were harboring doubts about Allah. Allah tells us of the blessings and favors He bestowed upon His believing servants when He diverted their enemies and defeated them in the year when they gathered together and plotted. That was the year of Al-Khandaq, in Shawwal of the year 5 AH according to the well-known correct view. Musa bin `Uqbah and others said that it was in the year 4 AH. The reason why the Confederates came was that a group of the leaders of the Jews of Banu Nadir, whom the Messenger of Allah had expelled from Al-Madinah to Khaybar, including Sallam bin Abu Al-Huqayq, Sallam bin Mishkam and Kinanah bin Ar-Rabi`, went to Makkah where they met with the leaders of Quraysh and incited them to make war against the Prophet . They promised that they would give them help and support, and Quraysh agreed to that. Then they went to the Ghatafan tribe with the same call, and they responded too. The Quraysh came out with their company of men from various tribes and their followers, under the leadership of Abu Sufyan Sakhr bin Harb. The Ghatafan were led by `Uyaynah bin Hisn bin Badr. In all they numbered nearly ten thousand. When the Messenger of Allah heard that they had set out, he commanded the Muslims to dig a ditch (Khandaq) around Al-Madinah from the east. This was on the advice of Salman Al-Farisi, may Allah be pleased with him. So the Muslims did this, working hard, and the Messenger of Allah worked with them, carrying earth away and digging, in the process of which there occurred many miracles and clear signs. The idolators came and made camp to the north of Al-Madinah, near Uhud, and some of them camped on the high ground overlooking Al-Madinah, as Allah says: