The Prophet ﷺ said, "Allah does not look at the one who lets his garment trail below his ankles."
أخبرنا محمد بن عبد الله بن عبيد بن عقيل قال حدثني جدي قال حدثنا شعبة عن أشعث قال سمعت سعيد بن جبير
عن النبي ﷺ قال إن الله عز وجل لا ينظر إلى مسبل الإزار
[Its isnad is sahih] Ahmad narrated it: 1/321, from the hadith of Ashath bin Abu Shatha, through him.