Question: Is it permissible for a person to reside in non-Muslim countries with all its temptations that confronts the person on the street, the school, the television and other media while he has the ability to migrate to a Muslim country although that transfer would cause difficulty in residence, loss of material wealth and comfort, and constrain the worldly aspects of his life? If it is not permissible to remain in such a country, would his efforts in propagation among the Muslims (reminding them of their obligations and encouraging them to refrain from haram) change the rule for him and allow him to remain in that country?
Answer: It is not haram to stay in that country, if it does not create hurdles for him and his family in fulfilling their religious obligations presently as well as in future; otherwise, it would not be permissible even if he is engaged in some kind of propagation activities. And Allah knows the best.
A Code of Practice For Muslims in the West