Question:
What is the ruling on being alone in seclusion with an unrelated woman?
Answer:
It is not permissible to be alone in seclusion with an unrelated woman. Authentic hadiths and consensus are evidence for its prohibition.
لا يخلون رجل بامرأة إلا ومعها ذو محرم
No man should be alone in seclusion with a (non-mahram) woman, unless a mahram relative of hers is present with her.
أما إذا خلا الأجنبي بالأجنبية من غير ثالث معهما فهو حرام باتفاق العلماء
If an unrelated man is alone in seclusion with an unrelated woman and no third person is present, this is forbidden, and the people of knowledge are agreed upon it.