Sahih Muslim , Book 15, Hadith 4 (In-Book)

Ibn 'Abbas (Allah be pleased with both of them) reported: I heard Allah's Messenger 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.

حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، وَأَبُو الرَّبِيعِ الزَّهْرَانِيُّ، وَقُتَيْبَةُ بْنُ سَعِيدٍ، جَمِيعًا عَنْ حَمَّادٍ، - قَالَ يَحْيَى أَخْبَرَنَا حَمَّادُ بْنُ زَيْدٍ، - عَنْ عَمْرٍو، عَنْ جَابِرِ بْنِ زَيْدٍ، عَنِ ابْنِ عَبَّاسٍ، - رضى الله عنهما - قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم وَهُوَ يَخْطُبُ يَقُولُ ‏ "‏ السَّرَاوِيلُ لِمَنْ لَمْ يَجِدِ الإِزَارَ وَالْخُفَّانِ لِمَنْ لَمْ يَجِدِ النَّعْلَيْنِ ‏" ‏ ‏.‏ يَعْنِي الْمُحْرِمَ ‏.‏

sunnah.com