They further stated:
It is disliked for the imam to prostrate inside the alcove-niche (miḥrāb), because doing so resembles the practice of the People of the Book in assigning the prayer-leader a privileged spot—something quite different from the case in which the imam’s actual prostration falls within that same space. This is the evident position of Aḥmad and others, and it is supported by authentic reports from Companions such as Ibn Masʿūd and others.
They also said: There is no objection to praying while a Qur’an codex or a sword is hanging in front of one, for neither of the two is an object of worship; by the same criterion, whenever an object is worshipped the ruling of dislike is established. Likewise, it is permissible to pray on a mat that bears pictures, because doing so shows contempt for the images; however, one must not place the forehead directly on the pictures, for that would resemble image-worship. The foundational texts nevertheless record the ruling in general terms of disapproval, because the worshipper is engaged in an act of veneration.
They added: If a person wears a garment that has pictures on it, the act is deemed disliked, because it imitates one who carries an idol. Pictures or statues of things without souls, however, are not disliked, since such items are not objects of worship.