Quran (2:191-193) -
"And slay them wherever ye find them, and drive them out of the places whence they drove you out, for persecution [of Muslims] is worse than slaughter [of non-believers]... but if they desist, then lo! Allah is forgiving and merciful. And fight them until persecution is no more, and religion is for Allah." The
historical context of this passage is
not defensive warfare, since Muhammad and his Muslims had just relocated to Medina and were
not under attack by their Meccan adversaries. In fact, the verses urge
offensive warfare, in that Muslims are to drive Meccans out of their own city (which they
later did). The use of the word "persecution" by some Muslim translators is thus disingenuous (the actual Muslim words for persecution - "idtihad" - and oppression - a variation of "z-l-m" - do not appear in the verse). The actual Arabic comes from "fitna" which can mean disbelief, or the disorder that results from unbelief or temptation. Taken as a whole, the context makes clear that violence is being authorized until
"religion is for Allah" - ie. unbelievers desist in their unbelief.