Praying on a prayer mat with decorations and designs, and in front of curtains of this kind
Praying on such decorated prayer mats and in front of such curtains, which cause a disturbance of attention in the prayer, is disliked, and the evidence for this is as follows:
➊ It is narrated from Anas (may Allah be pleased with him) that Aisha (may Allah be pleased with her) had a decorative cloth (to serve as a curtain) which she had hung on one side of her room. The Messenger of Allah ﷺ said to her:
اميطى عنا قرامك هذا فإنه لا تزال تصاويره تعرض لي فى صلاتي
“Remove this decorative cloth from in front of us, because its pictures keep coming before me and become a cause of disturbance and spoiling of my prayer.”
➋ Abu Jahm (may Allah be pleased with him) presented a cloth as a gift to the Prophet ﷺ. There were some designs and marks on this cloth, and the cloth was also thin. The Prophet ﷺ prayed wearing it or wrapped in it, and his ﷺ gaze turned towards those designs and marks. So after finishing the prayer, he ﷺ said:
اذهبوا بـخـميـصـتـي هـذه إلى أبى جهم واتوني بأنبجانية أبى جهم فإنها الهتني عن الصلاة
“Take this cloth back to Abu Jahm and bring me an anbijaniyyah from him (a cloth without designs), because this cloth has made me heedless of my prayer.”
➌ It is narrated from Uthman ibn Abi Talha (may Allah be pleased with him) that the Prophet ﷺ said:
فإنه لا ينبغي أن يكون فى قبلة البيت شيئ يلهي المصلي
“It is certainly not appropriate or permissible for there to be, in the direction of the qiblah of the house, anything that makes the worshipper heedless.”
Moreover, keeping or making pictures of living beings in houses is absolutely forbidden, as narrated from Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah ﷺ said: “Indeed, those who make these pictures” يعذبون يوم القيمة “will be punished on the Day of Resurrection,” and it will be said to them: احيوا ما خلقتم “Bring to life what you have made.”
However, making and keeping pictures of non-living things such as trees or other inanimate objects is permissible, as narrated from Ibn Abbas (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
فان كنت لا بد فاعلا فاجعل الشحر ومالا نفس له
“If you must do it, then make trees and things that have no soul.”