Hadithcore
Mishkat al-Masabih, 3118

‘Umar reported the Prophet (ﷺ) as saying, "Whenever a man is alone with a woman the devil makes a third.” Tirmidhi transmitted it.

وَعَنْ عُمَرَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَا يَخْلُوَنَّ رَجُلٌ بِامْرَأَةٍ إِلَّا كَانَ ثالثهما الشَّيْطَان» . رَوَاهُ التِّرْمِذِيّ

References1 variant
In-Book Reference
Book 13, Hadith 39