Someone asked me these questions: Suppose a woman is in her house and there are construction happening in her house. She doesnt know that workers come in and go, and unintentionally a man sees her without her veil. Is she entitled to the same gunah? For instance a student of mine told me she was sleeping and when she woke up, she saw her brother in law in front of her, she wasnt wearing her hijab.
She clearly didnt do that intentionally, sure she will do isteghfaar but whats the ruling on this?

A female should be careful to ensure she is covered in the presence of non mahrems
If such a situation happens as described, she should ask for forgiveness as it was unintentional