It is narrated from Sayyiduna Abu Talhah (may Allah be pleased with him), who was a Companion of the Messenger of Allah (peace and blessings be upon him), that he went to visit Sahl (may Allah be pleased with him) while he was ill, and beneath Sahl (may Allah be pleased with him) was a carpet bearing figures. Sahl said: "Remove this carpet from beneath me." Abu Talhah (may Allah be pleased with him) said: "The Messenger of Allah (peace and blessings be upon him) said concerning images: 'The angels do not enter it; but there is no harm in an image that is a design on cloth.'" Sahl said: "Even if that is so, remove it anyway."
Hadith Referenceالمعجم الكبير للطبراني / باب الزاي / 4716