Umar bin Khattab reported,

At al-Jabiyah, he said, the Messenger of Allah ﷺ stood among us as I now stand among you, and said, "Treat my companions well, then those who follow them, then those who follow them. After that, lying will spread until a man will offer testimony before being asked for it. Whoever among you desires the heart of Paradise must hold fast to the community, for Satan is with the one who is alone, and he is farther from two. Let none of you be alone with a woman, for Satan is the third of them. Whoever is pleased by his good deeds and grieved by his bad deeds is a believer."

Ahmad 114

Sahih

حدثنا علي بن إسحاق أنبأنا عبد الله يعني ابن المبارك أنبأنا محمد بن سوقة عن عبد الله بن دينار عن ابن عمر أن

عمر بن الخطاب رضي الله عنه خطب الناس

بالجابية فقال قام فينا رسول الله ﷺ مثل مقامي فيكم فقال استوصوا بأصحابي خيرا ثم الذين يلونهم ثم الذين يلونهم ثم يفشو الكذب حتى إن الرجل ليبتدئ بالشهادة قبل أن يسألها فمن أراد منكم بحبحة الجنة فليلزم الجماعة فإن الشيطان مع الواحد وهو من الاثنين أبعد لا يخلون أحدكم بامرأة فإن الشيطان ثالثهما ومن سرته حسنته وساءته سيئته فهو مؤمن

أحمد 114صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Umar bin Khattab
Numbering
Darussalam 114
Ahmad 114