The Battle of Trench
The battle is named after the “khandaq” that was dug by Muslims in preparation for the battle. The word khandaq is the Arabic word which means "That which has been dug".

The Confederate armed forces are evaluated around 10,000 men with six hundred horses and a few camels, while the army of Prophet Muhammad (S.A.W) numbered 3,000. It was fought on 8 Dhi Qa'd, 5 AH.
The minority of Medina, mostly Muslims headed by Islamic prophet Muhammad (S.A.W), dug a trench, which together with Medina's regular strongholds, and rendered the confederate rangers pointless, securing the two sides a stalemate. Planning to make a few assaults immediately, the confederates convinced the Muslim-united Medina Jews, the Banu Qurayza, to assault the city from the south. On the other hand, Prophet Muhammad's (S.A.W) tact crashed the transactions, and separated the alliance against him. The decently sorted out shields, the sinking of confederate assurance, and poor climate conditions created the attack to end in a disaster.
Quran explains the whole situation like this:
“[Remember] when they came at you from above you and from below you, and when eyes shifted [in fear], and hearts reached the throats and you assumed about Allah [various] assumptions. There the believers were tested and shaken with a severe shaking.”
[Al- Quran (33-10, 11)]
Narrated Jabir bin `Abdullah:
On the day of the Khandaq `Umar came, cursing the disbelievers of Quraish and said, "O Allah's Apostle! I have not offered the `Asr prayer and the sun has set." The Prophet (S.A.W) replied, "By Allah! I too, have not offered the prayer yet. "The Prophet (S.A.W) then went to Buthan, performed ablution and performed the `Asr prayer after the sun had set and then offered the Maghrib prayer after it."
[Sahih Al-Bukhari (945)]
The attack, in which the Muslims strategically defeated their adversaries while enduring not very many setbacks. Efforts to defeat the Muslims failed, and Islam got to be persuasive in the locale. As an outcome, the Muslim armed force attacked the range of the Banu Qurayza tribe, prompting their surrender and the execution of all their men.
The defeat brought about the Makkah to lose their exchange and a lot of their renown.