Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:455ʿAbd al-Khāliq b. ʿAlī al-Muʾadhhin

[Machine] The prophet ﷺ used to cover his head when he entered the restroom, and when he came to his family, he would also cover his head. The sheikh said that this hadith is one of the things that were denied by Muhammad ibn Yunus al-Kudaymi. Abu Saad al-Malini informed us, I am Abu Ahmad bin Adi al-Hafiz in this hadith, I do not know it.  

البيهقي:٤٥٥أَخْبَرَنَا عَبْدُ الْخَالِقِ بْنُ عَلِيٍّ الْمُؤَذِّنُ أنا أَبُو أَحْمَدَ بْنُ حَمْدَانَ الصَّيْرَفِيُّ نا مُحَمَّدُ بْنُ يُونُسَ الْقُرَشِيُّ ثنا خَالِدُ بْنُ عَبْدِ الرَّحْمَنِ عَنْ سُفْيَانَ الثَّوْرِيِّ عَنْ هِشَامِ بْنِ عُرْوَةَ عَنْ أَبِيهِ عَنْ عَائِشَةَ قَالَتْ

كَانَ النَّبِيُّ ﷺ إِذَا دَخَلَ الْخَلَاءَ غَطَّى رَأْسَهُ وَإِذَا أَتَى أَهْلَهُ غَطَّى رَأْسَهُ قَالَ الشَّيْخُ وَهَذَا الْحَدِيثُ أَحَدُ مَا أُنْكِرَ عَلَى مُحَمَّدِ بْنِ يُونُسَ الْكُدَيْمِيِّ أَخْبَرَنَا أَبُو سَعْدٍ الْمَالِينِيُّ أَنَا أَبُو أَحْمَدَ بْنُ عَدِيٍّ الْحَافِظُ فِي هَذَا الْحَدِيثِ لَا أَعْلَمُهُ  

رَوَاهُ غَيْرُ الْكُدَيْمِيِّ بِهَذَا الْإِسْنَادِ وَالْكُدَيْمِيُّ أَظْهَرُ امْرِئٍ أَنْ يَحْتَاجَ إِلَى أَنْ يُبَيِّنَ ضَعْفًا قَالَ الشَّيْخُ وَرُوِيَ فِي تَغْطِيَةِ الرَّأْسِ عِنْدَ دُخُولِ الْخَلَاءِ عَنْ أَبِي بَكْرٍ وَهُوَ عَنْهُ صَحِيحٌ وَرَوَاهُ أَيْضًا عَنْ حَبِيبِ بْنِ صَالِحٍ عَنِ النَّبِيِّ ﷺ مُرْسَلًا