Befriending those who commit sins

Q 2: What is the appropriate limit of Al-Wala' wal-Bara' (loyalty and disassociation for Allah's Sake) as regards Muslims who commit sins such as singing, shaving the beard, smoking, snuffing, Isbal (lengthening and trailing clothing below the ankles), etc.? Must we boycott them if they do not respond to advice?

A: It is not permissible to deal with those who commit sins in public unless you aim at counseling them, knowing that your advice will affect them positively. They should be loved in proportion to the strength of their belief in Allah, and they should be resented in proportion to the seriousness of their sins. If they do not accept the advice, they should be abandoned according to Shari`ah (Islamic law) until they repent to Allah.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.