Sahih Muslim | Book 7 | Hadith Number 2653

Narrated by Jabir
Jabir (Allah be pleased with him) reported Allah's Messenger (may peace be upon him) 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.