I heard Messenger of Allah ﷺ say as he was delivering an address: So far as the trousers are concerned, one who does not find lower garment, he may wear them; as also socks, he may wear them who does not find shoes. It concerns the Muhrim.
سَمِعْتُ رَسُولَ اللَّهِ ﷺ وَهُوَ يَخْطُبُ يَقُولُ السَّرَاوِيلُ لِمَنْ لَمْ يَجِدِ الإِزَارَ وَالْخُفَّانِ لِمَنْ لَمْ يَجِدِ النَّعْلَيْنِ يَعْنِي الْمُحْرِمَ