[Machine] The Messenger of Allah ﷺ said, "Verily, a man should not spend the night with a woman except if he is her husband or a close relative." Yahya ibn Yahya added in his narration, "He said this three times." And it was also narrated from Abu Zubair.
قَالَ رَسُولُ اللهِ ﷺ أَلَا لَا يَبِيتَنَّ رَجُلٌ عِنْدَ امْرَأَةٍ إِلَّا أَنْ يَكُونَ نَاكِحًا أَوْ ذَا مَحْرَمٍ زَادَ يَحْيَى بْنُ يَحْيَى فِي رِوَايَتِهِ ثَلَاثًا وَقَالَ عَنْ أَبِي الزُّبَيْرِ