It is narrated from Umm al-Mu'minin Sayyida Aisha (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) prayed in a cloak and said: "This has distracted me from prayer. Take it to Abu Jahm (may Allah be pleased with him) and bring an Anbijani cloak in exchange for it."
Hadith Referenceالسنن المأثورة / باب ما جاء في حضور النساء مساجد الجماعة / 183
Hadith Takhrijصحیح بخاری، الاذان، باب التفات في الصلاة، رقم : 752، صحیح مسلم ،المساجد، باب كراهة الصلاة فى ثوب له ،أعلام، رقم : 556 ۔