ذِكْرُ الزَّجْرِ أَنْ يَخْلُوَ الْمَرْءُ بِامْرَأَةٍ أَجْنَبِيَّةٍ وَإِنْ لَمْ تَكُنْ بِمُغِيبَةٍ
Umar addressed the people in al-Jabiyah, and said: The Messenger of Allah ﷺ stood as I am standing and said: ʿTreat my Companions kindly, then those who come after them, then those who come after them. Then there will come people who will swear oaths before being asked to swear and will give testimony before being asked to give testimony. Whoever among you would like to attain the best place in Paradise, let him adhere to the jama'ah (the main body of Muslims), for the Shaitan is with one and he is further away from two. No man should be alone with a woman because the Shaitan will be the third one present. Whoever feels pleased when he does a good deed and feels bad when he does an evil deed is a believer.” (Using translation from Aḥmad 177)
إِنَّ رَسُولَ اللَّهِ ﷺ قَامَ فِي مِثْلِ مَقَامِي هَذَا فَقَالَ «أَحْسِنُوا إِلَى أَصْحَابِي ثُمَّ الَّذِينَ يَلُونَهُمْ ثُمَّ يَفْشُو الْكَذِبُ حَتَّى يَحْلِفَ الرَّجُلُ عَلَى الْيَمِينِ قَبْلَ أَنْ يُسْتَحْلَفَ عَلَيْهَا وَيَشْهَدَ عَلَى الشَّهَادَةِ قَبْلَ أَنْ يُسْتَشْهَدَ عَلَيْهَا فَمَنْ أَحَبَّ مِنْكُمْ أَنْ يَنَالَ بُحْبُوحَةَ الْجَنَّةِ فَلْيَلْزَمِ الْجَمَاعَةَ فَإِنَّ الشَّيْطَانَ مَعَ الْوَاحِدِ وَهُوَ مِنَ الِاثْنَيْنِ أَبْعَدُ أَلَا لَا يَخْلُوَنَّ رَجُلٌ بِامْرَأَةٍ فَإِنَّ ثَالِثَهُمَا الشَّيْطَانُ أَلَا وَمَنْ كَانَ مِنْكُمْ تَسُوؤُهُ سَيِّئَتُهُ وَتَسُرُّهُ حَسَنَتُهُ فَهُوَ مُؤْمِنٌ»