The Treaty of Hudaybiyya had included a vow of there being no fighting between the Quraysh and the Muslims. However, when the tribe of Banu Bakr asked the leaders of Quraysh for help in a raid against their long time foe Banu Khuza'ah, a tribe with many Muslims and who were longtime allies of Prophet Muhammad, the Quraysh joined in.