كتاب الطهارة وسننها
1  
The Book of Purification and its Sunnah
(9)
Chapter: What is to be said when entering the toilet
(9)
باب مَا يَقُولُ الرَّجُلُ إِذَا دَخَلَ الْخَلاَءَ
Sunan Ibn Majah 297
It was narrated that 'Ali said:
"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).'"
حَدَّثَنَا مُحَمَّدُ بْنُ حُمَيْدٍ، حَدَّثَنَا الْحَكَمُ بْنُ بَشِيرِ بْنِ سَلْمَانَ، حَدَّثَنَا خَلاَّدٌ الصَّفَّارُ، عَنِ الْحَكَمِ النَّصْرِيِّ، عَنْ أَبِي إِسْحَاقَ، عَنْ أَبِي جُحَيْفَةَ، عَنْ عَلِيٍّ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ سِتْرُ مَا بَيْنَ الْجِنِّ وَعَوْرَاتِ بَنِي آدَمَ إِذَا دَخَلَ الْكَنِيفَ أَنْ يَقُولَ بِسْمِ اللَّهِ ‏"‏ ‏.‏
Grade: Da'if (Darussalam)
Reference : Sunan Ibn Majah 297
In-book reference : Book 1, Hadith 31
English translation : Vol. 1, Book 1, Hadith 297