Abu Zura reported,

I entered the house of Marwan with Abu Hurairah and saw images inside it. Abu Hurairah said, "I heard the Messenger of Allah ﷺ say that Allah عز وجل said, 'Who is more unjust than one who sets out to create something like My creation? Let them create an ant, or let them create a grain, or let them create a barley seed.'"

Azami 15610

Sahih

عن أبي زرعة قال

دخلت مع أبي هريرة في دار مروان فرأى فيها تصاوير، فقال: سمعت رسول الله ﷺ يقول: قال الله عز وجل: ومن أظلم ممن ذهب يخلق خلقا كخلقي؟ فليخلقوا ذرة، أو ليخلقوا حبة أو ليخلقوا شعيرة.

الأعظمي 15610صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Clothing and adornment
Chapter
Images and image-makers
Section
Warning for those who make images
Numbering
Jami al-Kamil 15610 (2nd edition)
Azami 15610