Jihad according to Allah
According to the Qur'an violence must adhere to legal principles to be qualified as Jihad, which is at most defensive, limited war, leading back to peace....The goal of Jihad is not to annihilate the enemy, as soon as one gains the upper hand the enemy must be made prisoner.
... when you have thoroughly subdued them, bind a bond firmly (on them).until the war lays down its burdens.thereafter (is the time for) either generosity or ransom. 47, 4 .
Asylum seekers should be helped..... If one amongst the Pagans ask you for asylum, grant it to him.and then escort him to where he can be secure. 9,66....
Jihad includes instructions for the end of war. .....If the enemy incline towards peace, you (also) incline towards peace. 8 ,61
For more details on war in Bible and Quran