Muslim bin Sabih reported,

I was with Masruq in a house that contained images of Mary.Masruq said, "These are images of Khosrow."I said, "No, these are images of Mary."Masruq then said, "I heard Abdullah bin Masud say that the Messenger of Allah ﷺ said, 'The people who will receive the most severe punishment on the Day of Resurrection are the image-makers.'"

Muslim 5539

Sahih

و حدثنا نصر بن علي الجهضمي حدثنا عبد العزيز بن عبد الصمد حدثنا منصور

عن مسلم بن صبيح قال

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

مسلم 5539صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Clothing and adornment
Chapter
Prohibition of making images of living beings and prohibition of keeping items with images that are not degraded by being used as rugs and the like
Numbering
Darussalam 5539
Muslim 5539