"The Messenger of Allah said: 'The screen between the Jinn and the nakedness of the sons of Adam is that when a person enters the Kanif, he should say: Bismillah (in the name of Allah).'"
Sunan Ibn Majah Book 1, Hadith 31