كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
5  
The Book of Mosques and Places of Prayer
(15)
Chapter: It is disliked to offer salat in a garment with markings
(15)
باب كَرَاهَةِ الصَّلاَةِ فِي ثَوْبٍ لَهُ أَعْلاَمٌ‏
Sahih Muslim 556 c

'A'isha reported:

The Apostle of Allah (way peace be upon him) had a garment which had designs upon it and this distracted him in prayer. He gave it to Abu Jahm and took a plain garment in its place which is known anbijaniya.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا وَكِيعٌ، عَنْ هِشَامٍ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَتْ لَهُ خَمِيصَةٌ لَهَا عَلَمٌ فَكَانَ يَتَشَاغَلُ بِهَا فِي الصَّلاَةِ فَأَعْطَاهَا أَبَا جَهْمٍ وَأَخَذَ كِسَاءً لَهُ أَنْبِجَانِيًّا ‏.‏
Reference : Sahih Muslim 556c
In-book reference : Book 5, Hadith 78
USC-MSA web (English) reference : Book 4, Hadith 1133
  (deprecated numbering scheme)