‘Ali reported God’s messenger as saying, "The covering between the eyes of the jinn and the private parts of the children of Adam when one of them enters the privy is provided by his saying, ‘In the name of God.’” Tirmidhi transmitted it, saying that this is a gharib tradition and that its isnad is not strong.
Hadith Referenceمشكوة المصابيح / كتاب الطهارة / 358
Hadith Gradingالألبانی:صَحِيح لغيره | زبیر علی زئی:إسناده ضعيف
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده ضعيف، رواه الترمذي (606) [و ابن ماجه: 297] ٭ أبو إسحاق مدلس وعنعن .»