The Prophet ﷺ said to me, "Do not expose your thigh, and do not look at the thigh of anyone, living or dead."
حدثنا بشر بن آدم حدثنا روح بن عبادة عن ابن جريج عن حبيب بن أبي ثابت عن عاصم بن ضمرة
قال لي النبي ﷺ لا تبرز فخذك ولا تنظر إلى فخذ حي ولا ميت
Its isnad is extremely daif. Abu Dawud himself declared it daif in the Hammam, chapter on the prohibition of nudity, hadith no. 4015, saying, "This hadith contains a nakarah (an objectionable element)." Habib used an ambiguous form of transmission (an), as noted previously at hadith no. 383, and he did not hear this hadith from his teacher, rather he heard it from Amr bin Khalid Wasiti, who is a liar, as noted previously at hadith no. 966.