Answered by Shaykh Faraz Rabbani
I read in the Reliance, book r, that the Hanafi scholar Khalil an-Nahlawi states that in the Hanafi madhab it was makruh tahrimun to give salam to someone who is openly in disobedience to Allah (I do not recall the exact wording). If an extremely close family member is of the above description, then do I stop giving salams to her, especially if she would be saddened by me doing this, and it may lead to worsening of relations?
Walaikum assalam,
What is definitely highly disliked is to give salams while someone is openly disobeying Allah, such as someone drinking wine, for example.
Otherwise, one can give salams even to a fasiq (corrupt person).
Wassalam,