إِنَّ ٱلَّذِينَ ءَامَنُوا۟ وَهَاجَرُوا۟ وَجَـٰهَدُوا۟ بِأَمْوَٰلِهِمْ وَأَنفُسِهِمْ فِى سَبِيلِ ٱللَّهِ وَٱلَّذِينَ ءَاوَوا۟ وَّنَصَرُوٓا۟ أُو۟لَـٰٓئِكَ بَعْضُهُمْ أَوْلِيَآءُ بَعْضٍ ۚ وَٱلَّذِينَ ءَامَنُوا۟ وَلَمْ يُهَاجِرُوا۟ مَا لَكُم مِّن وَلَـٰيَتِهِم مِّن شَىْءٍ حَتَّىٰ يُهَاجِرُوا۟ ۚ وَإِنِ ٱسْتَنصَرُوكُمْ فِى ٱلدِّينِ فَعَلَيْكُمُ ٱلنَّصْرُ إِلَّا عَلَىٰ قَوْمٍۭ بَيْنَكُمْ وَبَيْنَهُم مِّيثَـٰقٌ ۗ وَٱللَّهُ بِمَا تَعْمَلُونَ بَصِيرٌ
inna alladhīna āmanū wahājarū wajāhadū bi-amwālihim wa-anfusihim fī sabīli l-lahi wa-alladhīna āwaw wanaṣarū ulāika baʿḍuhum awliyāu baʿḍin wa-alladhīna āmanū walam yuhājirū mā lakum min walāyatihim min shayin ḥattā yuhājirū wa-ini is'tanṣarūkum fī l-dīni faʿalaykumu l-naṣru illā ʿalā qawmin baynakum wabaynahum mīthāqun wal-lahu bimā taʿmalūna baṣīrun
Those who believed and emigrated [to Medina] and struggled for God’s cause with their possessions and persons, and those who gave refuge and help, are all allies of one another. As for those who believed but did not emigrate, you are not responsible for their protection until they have done so. But if they seek help from you against persecution, it is your duty to assist them, except against people with whom you have a treaty: God sees all that you do.
Verily, those who believed, and emigrated and strove hard and fought with their property and their lives in the Cause of Allâh as well as those who gave (them) asylum and help, - these are (all) allies to one another. And as to those who believed but did not emigrate (to you O Muhammad صلى الله عليه وسلم), you owe no duty of protection to them until they emigrate; but if they seek your help in religion, it is your duty to help them except against a people with whom you have a treaty of mutual alliance; and Allâh is the All-Seer of what you do.