Mishkat al-Masabih
Mishkat al-Masabih 358
وَعَنْ عَلِيٍّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «سَتْرُ مَا بَيْنَ أَعْيُنِ الْجِنِّ وَعَوْرَاتِ بَنِي آدَمَ إِذَا دَخَلَ أَحَدُهُمُ الْخَلَاءَ أَنْ يَقُولَ بِسْمِ اللَّهِ» . رَوَاهُ التِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ غَرِيبٌ وَإِسْنَاده لَيْسَ بِقَوي
ʿAlī reported that the Messenger of God said: ‘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 for him to say: “In the name of God.”’ Al-Tirmidhī transmitted it and said: ‘This is a gharīb report, and its chain is not strong.’
Translation notes
The accompanying grading labels this report ṣaḥīḥ li-ghayrihi (sound through supporting reports), while al-Tirmidhī calls it gharīb and says its chain is not strong. These assessments are both preserved as stated.