أحسن الله إليكم Sheikh I went to give salam to a new guest at my house, but there were women that weren’t wearing proper hijab, would I be sinful for this?

Ustadh AbdulAziz al-Haqqan
You can say salam while entering and going to your room for example without mingling