قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " إِنَّ اللَّهَ لا يَنْظُرُ إِلَى الْمُسْبِلِ يَوْمَ الْقِيَامَةِ، يَعْنِي إِزَارَهُ "
And the Messenger of Allah, peace and blessings be upon him, said: "Surely Allah, the Exalted, will not look (with mercy) on the Day of Resurrection at the one who lets his lower garment hang below the ankles."
Related hadith on this topic