A’ishah, may Allah be pleased with her, said: “The Prophet, peace and blessings of Allaah be upon him, stood up to pray wearing a checkered shirt, and he looked at the patterns in it. When he had finished his prayer, he said:
“Take this shirt to Abu Jaham ibn Hudhayfah and bring me an anbajaani (a garment with no decorations or checks), because it distracted me when I was praying.”
According to another report: “These checks distracted me.”
According to another report: “He had a checkered shirt, which used to distract him whilst he was praying.” (Reports in Saheeh Muslim, no. 556, part 3/391).
It is better not to pray in a garment that has pictures on it, and we should be especially careful to avoid garments with pictures of animate beings, like many garments that are widely available today.