Suuradda An-Nisa 4:90
إِلَّا ٱلَّذِينَ يَصِلُونَ إِلَىٰ قَوۡمِۭ بَيۡنَكُمۡ وَبَيۡنَهُم مِّيثَٰقٌ أَوۡ جَآءُوكُمۡ حَصِرَتۡ صُدُورُهُمۡ أَن يُقَٰتِلُوكُمۡ أَوۡ يُقَٰتِلُواْ قَوۡمَهُمۡۚ وَلَوۡ شَآءَ ٱللَّهُ لَسَلَّطَهُمۡ عَلَيۡكُمۡ فَلَقَٰتَلُوكُمۡۚ فَإِنِ ٱعۡتَزَلُوكُمۡ فَلَمۡ يُقَٰتِلُوكُمۡ وَأَلۡقَوۡاْ إِلَيۡكُمُ ٱلسَّلَمَ فَمَا جَعَلَ ٱللَّهُ لَكُمۡ عَلَيۡهِمۡ سَبِيلًا ٩٠
Illal lazeena yasiloona ilaa qawmim binakum wa bainahum meesaaqun aw jaaa`ookum hasirat sudooruhum ai yuqaatilookum aw yuqaatiloo qawmahum, wa law shaaa`al laahu lasallatahum `alaikum falaqaatalookum; fa ini` tazalookum falam yuqaatilookum wa alqaw ilaikumus salama famaa ja`alal laahu lakum `alaihim sabeelaa
Kuwa Gaadhi qoom dhexdiinna iyo dhexdooda ballan (heshiis) yahay mooyee, ama idiin yimid yadow Cidhiidhyantahay Laabtoodu inay idinla Dagaallamaan ama la dagaallamaan Qoomkooda, hadduu doono Eebe wuu idinku diri lahaa wayna idin la dagaallami lahaayeen haddayse idinka dheeraadaan oyan idin la Dagaallamin oy idiin soo hormariyaan Nabadgalyo idiin ma yeelin Eebe korkooda Jid (Xaq kuma lihidiin Dagaal).
Except for those who take refuge with a people between yourselves and whom is a treaty or those who come to you, their hearts strained at [the prospect of] fighting you or fighting their own people. And if Allah had willed, He could have given them power over you, and they would have fought you. So if they remove themselves from you and do not fight you and offer you peace, then Allah has not made for you a cause [for fighting] against them.