Abu Hurairah reported,

While a man was praying with his lower garment hanging down below his ankles, the Messenger of Allah ﷺ said to him, "Go and perform ablution."So he went and performed ablution, then returned.The Prophet ﷺ said again, "Go and perform ablution."He went, performed ablution, and came back.A man then asked, "Messenger of Allah, why did you order him to perform ablution and then remain silent about it?"He replied, "He was praying with his lower garment hanging below his ankles, and Allah the Exalted does not accept the prayer of a man whose garment hangs below his ankles."

Abu Dawud 638

Hasan

حدثنا موسى بن إسمعيل حدثنا أبان حدثنا يحيى عن أبي جعفر عن عطاء بن يسار

عن أبي هريرة قال

بينما رجل يصلي مسبلا إزاره إذ قال له رسول الله ﷺ اذهب فتوضأ فذهب فتوضأ ثم جاء ثم قال اذهب فتوضأ فذهب فتوضأ ثم جاء فقال له رجل يا رسول الله ما لك أمرته أن يتوضأ ثم سكت عنه فقال إنه كان يصلي وهو مسبل إزاره وإن الله تعالى لا يقبل صلاة رجل مسبل إزاره

أبو داود 638حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Letting garments hang below the ankles in prayer
Numbering
Darussalam 638
Abu Dawud 638