Jami` at-Tirmidhi, Book 9, Hadith 27 (Tirmidhi 835)

Ibn Abbas narrated that:

He heard the Messenger of Allah say: "If the Muhrim cannot find an Izar, then let him wear pants, and if he cannot find sandals, them let him wear Khuff."