Sunan Abi Dawud, Book 33, Hadith 7 (Abu Dawud 4016)

Narrated Ali ibn AbuTalib:

The Prophet (ﷺ) said: Do not uncover you thigh, and do not look at the thigh of the living and the dead. Abu Dawud said: This tradition disagrees with the generally reported traditions (nakarah).