The Messenger of Allah ﷺ said, "Whoever cannot find sandals should wear leather socks, and let him cut them so they fall below the ankles."
حدثنا أبو مصعب حدثنا مالك بن أنس عن نافع وعن عبد الله بن دينار
أن رسول الله ﷺ قال من لم يجد نعلين فليلبس خفين وليقطعهما أسفل من الكعبين
[Sahih] Previously mentioned, no. 2929, the hadith of Nafi, no. 2930, the hadith of Ibn Dinar.