Abu Zura reported,

I entered a house in Madinah with Abu Hurairah, and he saw someone at the top of it painting pictures. He said, "I heard the Messenger of Allah ﷺ say, 'Who is more unjust than one who sets out to create like My creation? Let them create a grain, let them create an atom!'"Then he called for a basin of water and washed his hands up to his armpits. I asked, "Abu Hurairah, is this something you heard from the Messenger of Allah ﷺ?"He replied, "It is the limit to which the ornament will reach."

Bukhari 5953

Sahih

حدثنا موسى حدثنا عبد الواحد حدثنا عمارة حدثنا

أبو زرعة قال

دخلت مع أبي هريرة دارا بالمدينة فرأى أعلاها مصورا يصور قال سمعت رسول الله ﷺ يقول ومن أظلم ممن ذهب يخلق كخلقي فليخلقوا حبة وليخلقوا ذرة ثم دعا بتور من ماء فغسل يديه حتى بلغ إبطه فقلت يا أبا هريرة أشيء سمعته من رسول الله ﷺ قال منتهى الحلية

البخاري 5953صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Clothing
Chapter
Destroying images
Numbering
Darussalam 5953
Bukhari 5953