The Prophet ﷺ delivered a sermon at ʿArafat and said, "Whoever does not get an Izar can wear trousers, and whoever cannot get a pair of shoes can wear Khuffs (socks made from thick fabric or leather)."
خَطَبَنَا النَّبِيُّ ﷺ بِعَرَفَاتٍ فَقَالَ مَنْ لَمْ يَجِدِ الإِزَارَ فَلْيَلْبَسِ السَّرَاوِيلَ وَمَنْ لَمْ يَجِدِ النَّعْلَيْنِ فَلْيَلْبَسِ الْخُفَّيْنِ