indeed those who have believed and emigrated and fought with their wealth and lives in the cause of allah and those who gave shelter and aided they are allies of one another. but those who believed and did not emigrate for you there is no guardianship of them until they emigrate. and if they seek help of you for the religion then you must help except against a people between yourselves and whom is a treaty. and allah is seeing of what you do.
إن الذين آمنوا وهاجروا وجاهدوا بأموالهم وأنفسهم في سبيل الله والذين آووا ونصروا أولئك بعضهم أولياء بعض والذين آمنوا ولم يهاجروا ما لكم من ولايتهم من شيء حتى يهاجروا وإن استنصروكم في الدين فعليكم النصر إلا على قوم بينكم وبينهم ميثاق والله بما تعملون بصير