Question:
How should I take off my clothes so that the devil cannot see my body?
Answer:
Ali ibn Abi Talib and Anas ibn Malik (may Allah be pleased with them both) narrate from the Prophet ﷺ that he said:
ستر ما بين أعين الجن و عورات بني آدم إذا وضع أحدهم ثوبه أن يقول: باسم الله
“The screen between the jinn and the private parts of the children of Adam is that when a person takes off his garment, he says بسم الله.”
Saying بسم الله is like a seal upon the children of Adam, which the devil cannot open. Some scholars have said that, adhering to the apparent wording, الرحمن الرحيم should not be added to بسم الله (that is, only بسم الله should be said, not the complete بسم الله الرحمن الرحيم).