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

Jabir (Allah be pleased with him) reported Allah's Messenger (PBUH) as saying: He who does not find shoes to wear may wear socks, and he who does not find lower garment to wear may put on trousers. Translation Not Available

Book reference: Sahih Muslim Book 15 Hadith 2653
Web reference: Sahih Muslim Book 7 Hadith 1179