Praise be to Allaah.
Undoubtedly settling among the mushrikeen is harmful, for one is exposing oneself to temptation and evil. But if his settling there will do more good, such as calling people to the religion of Allaah or teaching the Muslim children the correct ‘Aqeedah, then there is nothing wrong with it, because the good outweighs the evil that may be expected. The hadeeth “I have nothing to do with every Muslim who settles among the mushrikeen” may be interpreted as referring to those who cannot practise their religion openly in the place where they settle, and those who are able to practise their religion openly are not included in this hadeeth. But it is better to say that if a person’s settling there is more beneficial to Islam and the Muslims, then it is OK.