In the context of warfare, jihad has been used to describe either the fighting or the motives behind it.
The beginnings of Jihad are traced back to the words and actions of Muhammad and the Quran. This encourages the use of Jihad against non-Muslims.Sura 25, verse 52 states: “Therefore, do not obey the disbelievers, and strive against them with this, a great striving.” It was, therefore, the duty of all Muslims to strive against those who did not believe in Allah and took offensive action against Muslims. The Qu’ran, however, never uses the term Jihad for fighting and combat in the name of Allah; qital is used to mean “fighting.” The struggle for Jihad in the Qu’ran was originally intended for the nearby neighbors of the Muslims, but as time passed and more enemies arose, the Quranic statements supporting Jihad were updated for the new adversaries. The first documentation of the law of Jihad was written by ‘Abd al-Rahman al-Awza’i and Muhammad ibn al-Hasan al-Shaybani. The document grew out of debates that had surfaced ever since Muhammad's death.