عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُمَا قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ مَنْ كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الْآخِرِ فَلَا يَخْلُوَنَّ بِامْرَأَةٍ لَيْسَ مَعَهَا ذُو مَحْرَمٍ مِنْهَا فَإِنَّ ثَالِثَهُمَا الشَّيْطَانُ
Narrated by Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) that the Noble Prophet (peace and blessings be upon him) said: Whoever believes in Allah and the Last Day should not be alone with a woman who does not have her mahram present, for the third among them will be the devil.