[Machine] "When we used to travel, the Messenger of Allah ﷺ commanded us not to take off our footwear three times, except for when in a state of janabah (major ritual impurity). However, it is permissible to remove them for relieving oneself, urinating, or sleeping."
«كَانَ رَسُولُ اللهِ ﷺ إِذَا كُنَّا سَفَرًا أَمَرَنَا أَنْ لَا نَخْلَعَ خِفَافَنَا ثَلَاثًا إِلَّا مِنْ جَنَابَةٍ وَلَكِنْ مِنْ غَائِطٍ أَوْ بَوْلٍ أَوْ نَوْمٍ»