Battle of the Trench enemy in the open (which led to victory at Badr), and waiting for them inside the city (a lesson learnt from the defeat at Uhud) were both suggested. Ultimately, the outnumbered Muslims opted to engage in a defensive battle by digging deep trenches to act as a barrier along the northern front. The tactic of a defensive trench was introduced by Salman the Persian. Every capable Muslim in Medina including Muhammad contributed to digging the massive trench in six days. The ditch was dug on the northern side only, as the rest of Medina was surrounded by rocky mountains and
Battle of Uhud situation in Medina. He and his party then left Medina, burning down two houses and laying waste to some fields in fulfillment of his vow. Further skirmishes between the Meccans and the Muslims would occur thereafter. The reason for the battle was to retaliate against the Muslims for the Battle of Badr The following year on 10 December 624, with Abu Sufyan at the helm, the Meccans—anxious to avenge their defeat at Badr—raised another force numbering 3,000 and set out for the Muslim base in Medina. Rather than attacking Medina itself, which was populated by numerous strongholds that would have