I heard the Messenger of Allah (ﷺ) say: He who lets his garment trail during prayer out of pride, Allah, the Almighty, has nothing to do with pardoning him and protecting him from Hell.
Sunan Abi Dawud Book 2, Hadith 247