while a man was praying letting his lower garment trail, the Messenger of Allah ﷺ said to him: Go and perform ablution. He, therefore, went and performed ablution and then returned. He (the prophet) again said: Go and perform ablution. He again went, performed ablution and returned. A man said to him (the prophet): Messenger of Allah, why did you order him to perform ablution? He said: he was praying with lower garment trailing, and does not accept the prayer of a man who lets his lower garment trail. (Using translation from Abū Dāʾūd 638)
عَنْ أَبِي هُرَيْرَةَ ؓ بَيْنَمَا رَجُلٌ يُصَلِّي مُسْبِلٌ إِزَارَهُ فَقَالَ لَهُ رَسُولُ اللهِ ﷺ اذْهَبْ فَتَوَضَّأْ فَذَهَبَ فَتَوَضَّأَ ثُمَّ جَاءَ فَقَالَ رَسُولُ اللهِ ﷺ اذْهَبْ فَتَوَضَّأْ فَذَهَبَ فَتَوَضَّأَ ثُمَّ جَاءَ فَقَالَ لَهُ رَجُلٌ يَا نَبِيَّ اللهِ مَا لَكَ أَمَرْتَهُ يَتَوَضَّأُ ثُمَّ سَكَتَّ عَنْهُ؟ فَقَالَ إِنَّهُ كَانَ يُصَلِّي وَهُوَ مُسْبِلٌ إِزَارَهُ وَإِنَّ اللهَ ﷻ لَا يَقْبَلُ صَلَاةَ رَجُلٍ مُسْبِلٍ إِزَارَهُ هَكَذَا