8:72
إِنَّ ٱلَّذِینَ ءَامَنُوا۟ وَهَاجَرُوا۟ وَجَـٰهَدُوا۟ بِأَمۡوَ ٰلِهِمۡ وَأَنفُسِهِمۡ فِی سَبِیلِ ٱللَّهِ وَٱلَّذِینَ ءَاوَوا۟ وَّنَصَرُوۤا۟ أُو۟لَـٰۤىِٕكَ بَعۡضُهُمۡ أَوۡلِیَاۤءُ بَعۡضࣲۚ وَٱلَّذِینَ ءَامَنُوا۟ وَلَمۡ یُهَاجِرُوا۟ مَا لَكُم مِّن وَلَـٰیَتِهِم مِّن شَیۡءٍ حَتَّىٰ یُهَاجِرُوا۟ۚ وَإِنِ ٱسۡتَنصَرُوكُمۡ فِی ٱلدِّینِ فَعَلَیۡكُمُ ٱلنَّصۡرُ إِلَّا عَلَىٰ قَوۡمِۭ بَیۡنَكُمۡ وَبَیۡنَهُم مِّیثَـٰقࣱۗ وَٱللَّهُ بِمَا تَعۡمَلُونَ بَصِیرࣱ ۝٧٢
Mohammad Shafi
Those indeed who believed and migrated and struggled hard in Allah's path with their property and their lives, and those who gave shelter and help — these are awliya of one another. And as for those who believed but did not migrate, you have no responsibility of being their wali until they migrate. And if they seek aid from you in matters of religion, aid is obligatory on you except against a people between whom and you there is a treaty. And Allah sees what you do
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ṣīru