Sunan Ibn Majah Book 25, Hadith 51
“Whoever does not have sandals let him wear leather socks, and
let
him cut them to below the ankle.”
“I heard the Prophet (ﷺ) delivering a sermon – (one of the narrators) Hisham said: ‘On the pulpit’ – and he said: ‘Whoever does not have a waist wrap, let him wear pants or pajamas, and whoever does not have sandals, let him wear leather socks.’” In his narration, Hisham said: “If he does not find any, then let him wear pants or pajamas.”
“We went out with the Messenger of Allah (ﷺ) until, when we were in ‘Arj, we stopped to camp. The Messenger of Allah (ﷺ) sat, with ‘Aishah by his side, and I was sitting beside Abu Bakr. Our mount* and the mount of Abu Bakr was one, under the care of the slave of Abu Bakr. The slave looked and his camel was not with him, so he said to him: ‘Where is your camel?’ He said: ‘I lost it yesterday.’ He said: ‘You have one camel with you and you lost it?’ He started to beat him, and the Messenger of Allah (ﷺ) said: ‘Look at what this Muhrim is doing!’”