The Messenger of Allah ﷺ passed by me while my thigh was uncovered, and the Prophet ﷺ said, "Cover it, for it is part of the awrah."
حدثنا عبد الرزاق قال حدثنا معمر عن أبي الزناد
مر بي رسول الله ﷺ وأنا كاشف فخذي فقال النبي ﷺ غطها فإنها من العورة
The isnad is hasan.