Living in a place where evils spread

Q 4: Is it permissible for a Muslim man to stay with other Muslims whose wives dress immodestly in violation of the Islamic dress code and who commit other sins? Haram (Prohibited), for them, is only those things they do not like. Should one abandon such people?

A: A Muslim should not sit or live near evil companions to avoid Fitnah (temptation). Whoever is tested with such evil companions should avoid them and search for another place where he/she will feel safe from Fitnah. However, it is permissible for him/her to stay if his/her Din (religion) of Islam is sound, and he/she has the ability to forbid this evil along with taking the necessary steps of precautious and to avoid Fitnah.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.