Battle of Badr (624 CE) was the first battle that Prophet Muhammad commanded in which the Quraysh were defeated, this event marked the beginning of the six-year war between the Prophet and his Quraysh tribe.