Ayesha reported,

The Prophet ﷺ prayed in a cloak that had decorative markings on it, and he glanced at its markings during the prayer. When he finished, he said, "Take this cloak of mine to Abu Jahm and bring me Abu Jahm's plain cloak instead, for this one just distracted me from my prayer."Hisham bin Urwa reported from his father, from Ayesha, that the Prophet ﷺ said, "I kept looking at its markings while I was praying, and I feared it might tempt me away from my focus."

Bukhari 373

Sahih

حدثنا أحمد بن يونس قال حدثنا إبراهيم بن سعد قال حدثنا ابن شهاب عن عروة

عن عائشة

أن النبي ﷺ صلى في خميصة لها أعلام فنظر إلى أعلامها نظرة فلما انصرف قال اذهبوا بخميصتي هذه إلى أبي جهم وأتوني بأنبجانية أبي جهم فإنها ألهتني آنفا عن صلاتي وقال هشام بن عروة عن أبيه عن عائشة قال النبي ﷺ كنت أنظر إلى علمها وأنا في الصلاة فأخاف أن تفتنني

البخاري 373صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer
Chapter
If one prays in a garment with decorative markings and looks at its markings
Numbering
Darussalam 373
Bukhari 373