Jami` at-Tirmidhi, Book 43, Hadith 71 (Tirmidhi 2876)
Narrated Abu Az-Zinad:
"Ibn Jarhad informed me from his father, that the Prophet (ﷺ) passed by him while his thigh was exposed, so the Prophet (ﷺ) said: 'Cover your thigh, for indeed it is 'Awrah.'"