It is narrated from Sayyiduna ‘Amir that the Prophet (peace and blessings be upon him) said: Whoever dies in such a state that he has no pledge of obedience upon him and dies, he dies the death of ignorance. And if, after making a pledge of obedience, he throws it off from his neck, then Allah will meet him in such a state that he will have no proof with him. Beware! No man should sit in seclusion with a non-mahram woman, for the third among them is Satan, except if she is a mahram, because Satan is with one and stays away from two. Whoever feels displeased with his sin and happy with his good deed, then he is a believer.
Hadith Referenceمسند احمد / مسند المكيين / 15696
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد ضعيف لضعف عاصم بن عبيدالله