Bulugh al-Maram 61
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَعَنْ صَفْوَانَ بْنِ عَسَّالٍ - رضى الله عنه - قَالَ: { كَانَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -يَأْمُرُنَا إِذَا كُنَّا سَفْرًا أَنْ لَا نَنْزِعَ خِفَافَنَا ثَلَاثَةَ أَيَّامٍ وَلَيَالِيَهُنَّ, إِلَّا مِنْ جَنَابَةٍ وَلَكِنْ مِنْ غَائِطٍ, وَبَوْلٍ, وَنَوْمٍ } أَخْرَجَهُ النَّسَائِيُّ, وَاَلتِّرْمِذِيُّ وَاللَّفْظُ لَهُ, وَابْنُ خُزَيْمَةَ وَصَحَّحَاه ُ (77) .
Narrated Safwan bin "Assal (rad):
When we were on a journey, the Prophet (ﷺ) 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. [Reported by An-Nasa'i and At-Tirmidhi, version is of the latter. With them Ibn Khuzaima graded it Sahih (sound)].
Full reference and source
Bulugh al-Maram 61 In-book : Book 1, Hadith 71 English translation : Book 1, Hadith 66
View source on Sunnah.com (opens in a new tab)