It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that once the Prophet (peace and blessings be upon him) delivered a sermon in the plain of Arafat and said: "If one does not find an izar (lower garment) to tie below, he should wear trousers, and if he does not find shoes, he should wear socks."