Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:637Zayd b. Akhzam > Abū Dāwud > Abū ʿAwānah > ʿĀṣim > Abū ʿUthmān > Ibn Masʿūd

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.  

أبو داود:٦٣٧حَدَّثَنَا زَيْدُ بْنُ أَخْزَمَ حَدَّثَنَا أَبُو دَاوُدَ عَنْ أَبِي عَوَانَةَ عَنْ عَاصِمٍ عَنْ أَبِي عُثْمَانَ عَنِ ابْنِ مَسْعُودٍ قَالَ

سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ مَنْ أَسْبَلَ إِزَارَهُ فِي صَلاَتِهِ خُيَلاَءَ فَلَيْسَ مِنَ اللَّهِ فِي حِلٍّ وَلاَ حَرَامٍ  

قَالَ أَبُو دَاوُدَ رَوَى هَذَا جَمَاعَةٌ عَنْ عَاصِمٍ مَوْقُوفًا عَلَى ابْنِ مَسْعُودٍ مِنْهُمْ حَمَّادُ بْنُ سَلَمَةَ وَحَمَّادُ بْنُ زَيْدٍ وَأَبُو الأَحْوَصِ وَأَبُو مُعَاوِيَةَ

See similar narrations below:

Collected by Suyūṭī