It is narrated from Sayyiduna Usamah bin Zayd (may Allah be pleased with him) that he said: "I entered the Ka'bah with the Messenger of Allah (peace and blessings be upon him), and he (peace and blessings be upon him) saw pictures in it. So he (peace and blessings be upon him) ordered me to bring water, and I kept bringing water in a bucket. He (peace and blessings be upon him) began to wet a cloth, then wipe out those pictures with it, saying: 'May Allah destroy a people who make pictures of what they cannot create.'"
There has been criticism concerning Ahmad bin Abd al-Rahman, while Imam Muslim (may Allah have mercy on him) recorded from him in his Sahih.
And this hadith has already come earlier in the narration of Umayr, the freed slave of Ibn Abbas.