The Prophet (may Allah's peace and blessings be upon him) forbids staying the night at the place of a woman whom one is not married to, especially that of a woman who has been previously married, for she is often accessible. Virgins, however, avoid men. If men are forbidden access to non-virgins, who are usually accessible, then they are even more so forbidden access to virgins. The exception here applies to one's wife and one's blood relatives, such as his mother; daughter; sister; relatives through fostering, such the suckling mother; and relatives through marriage, such as one's mother-in-law. "Staying the night" does not mean that a man is allowed to stay in seclusion with a non-Mahram woman during the daytime. According to Sahīh Al-Bukhāri, the interdiction is general and not restricted to the night time. If a Mahram, however, is not trustworthy, a non-Mahram woman must be accompanied by other women.
صحيح مسلم، تحقيق: محمد فؤاد عبد الباقي، دار إحياء التراث العربي، بيروت. فتح ذي الجلال والإكرام شرح بلوغ المرام، لمحمد بن صالح بن محمد العثيمين، تحقيق: صبحي بن محمد رمضان، وأُم إسراء بنت عرفة، المكتبة الإسلامية، القاهرة،الطبعة الأولى ، 1427هـ. منحة العلام شرح بلوغ المرام، لعبد الله الفوزان، دار ابن الجوزي، الطبعة الأولى، 1428. توضيح الأحكام من بلوغ المرام، لعبد الله بن عبد الرحمن البسام ، مكتبة الأسدي، مكة، الطبعة الخامسة،1423. تسهيل الإلمام بفقه الأحاديث من بلوغ المرام ، لصالح الفوزان ،اعتناء عبد السلام السلمان ، الرياض ،الطبعة الأولى، 1427 بلوغ المرام من أدلة الأحكام، لأحمد بن علي بن حجر العسقلاني -تحقيق وتخريج وتعليق: سمير بن أمين الزهري-الناشر: دار الفلق – الرياض-الطبعة: السابعة، 1424 هـ. سبل السلام، لمحمد بن إسماعيل الصنعاني، الناشر: دار الحديث.