Muhammad in Medina with Meccans, who were now eager to avenge their defeat. To maintain their economic prosperity, the Meccans needed to restore their prestige, which had been lost at Badr. The Meccans sent out a small party for a raid on Medina to restore confidence and reconnoitre. The party retreated immediately after a surprise and speedy attack but with minor damages; there was no combat. In the ensuing months, Muhammad led expeditions on tribes allied with Mecca and sent out a raid on a Meccan caravan. Abu Sufyan ibn Harb subsequently gathered an army of three thousand men and set out for
Battle of the Trench many alliances against the Muslim expansion. Nevertheless, he was unable to prevent the Meccan one. As they had in the battles of Badr and Uhud, the Muslim army again used strategic methods against their opponents (at Badr, the Muslims surrounded the wells, but did not deprive their opponents of water since Ali did not want to follow the footsteps of the Meccan army; at the Battle of Uhud, Muslims made strategic use of the hills). In this battle they dug a trench to render the enemy cavalry ineffective. The reason for this battle was to defend Medina from attack, after