It was narrated from Ibn ‘Umar that the Messenger of Allah (ﷺ) said:
“Whoever does not have sandals let him wear leather socks, and let him cut them to below the ankle.”