Muawiya bin Hayda reported,

I asked, "Messenger of Allah, regarding our private parts, which may we expose and which must we cover?"He replied, "Guard your private parts from everyone except your wife or those your right hand possesses."The man asked, "What if a man is with another man?"He said, "If you can manage that no one sees it, then do so."I asked, "And what if a man is alone?"He replied, "Allah is more deserving that one feel shame before Him."

Tirmidhi 2769

Hasan

حدثنا محمد بن بشار حدثنا يحيى بن سعيد

حدثنا بهز بن حكيم حدثني أبي عن جدي قال

قلت يا رسول الله عوراتنا ما نأتي منها وما نذر قال احفظ عورتك إلا من زوجتك أو ما ملكت يمينك فقال الرجل يكون مع الرجل قال إن استطعت أن لا يراها أحد فافعل قلت والرجل يكون خاليا قال فالله أحق أن يستحيا منه

الترمذي 2769حسن
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Manners
Chapter
Guarding the private parts
Numbering
Darussalam 2769