The Quraysh (Arabic: قُرَيْشٍ) are an Arab tribe who controlled Mecca before the rise of Islam. Their members were divided into ten main clans, most notably including the Banu Hashim, into which Islam's founder prophet Muhammad was born. By the seventh century, they had become wealthy merchants, dominating trade between the Indian Ocean, East Africa, and the Mediterranean. The tribe ran caravans to Gaza and Damascus in summer and to Yemen in winter, while also mining and pursuing other enterprises on these routes.
When Muhammad began preaching Islam in Mecca, the Quraysh initially showed little concern. However, their opposition to his activities quickly grew as he increasingly challenged Arab polytheism, which was prevalent throughout pre-Islamic Arabia. As relations deteriorated, Muhammad and his followers migrated to Medina (the journey known as the Hijrah) after negotiating with the Banu Aws and the Banu Khazraj to mediate their conflict. However, the two sides proved unable to reach a peaceful resolution, and the Quraysh continued to obstruct Muhammad's community's attempts to perform the Islamic pilgrimage at Mecca, prompting him to confront them through armed conflict, primarily by conducting raids on their caravans. These raids eventually escalated into several major battles, including those at Badr, Uhud, and "the Trench" (Medina's outskirts). Following these engagements and changes in Medina's political landscape, including the expulsion of three Jewish tribes, Muhammad reportedly shifted the focus of his military campaigns from Quraysh caravans to the northern Arab tribes, such as the Banu Lahyan and the Banu Mustaliq.