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.
ahmad:18091Yaḥyá b. Ādam > Sufyān > ʿĀṣim > Zir b. Ḥubaysh > Atayt Ṣafwān b. ʿAssāl al-Murādī Fasaʾaltuh > al-Masḥ > al-Khuffayn

[Machine] "We used to be with the Messenger of Allah ﷺ , and he would order us not to remove our underwear for three days except for sexual impurity. However, it could be removed for defecation, urine, and sleep. Then, a Bedouin with a loud voice came and said, 'O Muhammad, a man loves his people, but he does not join them.' The Messenger of Allah ﷺ said, 'A person will be with those whom he loves.'"  

أحمد:١٨٠٩١حَدَّثَنَا يَحْيَى بْنُ آدَمَ حَدَّثَنَا سُفْيَانُ عَنْ عَاصِمٍ عَنْ زِرِّ بْنِ حُبَيْشٍ قَالَ أَتَيْتُ صَفْوَانَ بْنَ عَسَّالٍ الْمُرَادِيَّ فَسَأَلْتُهُ عَنِ الْمَسْحِ عَلَى الْخُفَّيْنِ فَقَالَ

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


See similar narrations below:

Collected by Ibn Mājah
ibnmajah:478Abū Bakr b. Abū Shaybah > Sufyān b. ʿUyaynah > ʿĀṣim > Zir > Ṣafwān b. ʿAssāl

"The Messenger of Allah used to command us not to take off our leather socks for three days except in the case of sexual impurity, but not in the case of defecation, urine or sleep (i.e. during travel)."  

ابن ماجة:٤٧٨حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ عَنْ عَاصِمٍ عَنْ زِرٍّ عَنْ صَفْوَانَ بْنِ عَسَّالٍ قَالَ

كَانَ رَسُولُ اللَّهِ ﷺ يَأْمُرُنَا أَنْ لاَ نَنْزِعَ خِفَافَنَا ثَلاَثَةَ أَيَّامٍ إِلاَّ مِنْ جَنَابَةٍ لَكِنْ مِنْ غَائِطٍ وَبَوْلٍ وَنَوْمٍ