It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The lower garment is from here (that is, from the middle of the shin) to here," until (his (peace and blessings be upon him) hand) reached the ankles, "(and he said:) there is no good in whatever is below that."
Abu Ja'far al-Nufayli (may Allah have mercy on him) narrated it from Muhammad bin Salamah, from Muhammad bin Ishaq, from Humayd (may Allah have mercy on him), from Sayyiduna Anas bin Malik (may Allah be pleased with him), who said: I heard the Messenger of Allah (peace and blessings be upon him) saying: "The lower garment of the believer," and then he mentioned the whole hadith in the same way.