وَعَنْ صَفْوَانَ بْنِ عَسَّالٍ رضى الله عنه
قَالَ: «كَانَ رَسُولُ اَللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَأْمُرُنَا إِذَا كُنَّا سَفْرًا أَنْ لَا نَنْزِعَ خِفَافَنَا ثَلَاثَةَ أَيَّامٍ وَلَيَالِيَهُنَّ، إِلَّا مِنْ جَنَابَةٍ وَلَكِنْ مِنْ غَائِطٍ، وَبَوْلٍ، وَنَوْمٍ»
When we were on a journey, the Prophet (sallallahu alayhi wa sallam) used to command us to wear our leather socks for three days and three nights, whether we had to answer the call of nature or slept. However, in case of ejaculation or sexual impurity, he commanded us to remove the leather socks.