The Prophet ﷺ said, "Those who make these images will be punished on the Day of Resurrection, and it will be said to them, 'Bring to life what you have created.'"
حدثنا عفان حدثنا وهيب حدثنا أيوب عن نافع
عن النبي ﷺ قال إن أصحاب هذه الصور يعذبون يوم القيامة ويقال لهم أحيوا ما خلقتم
Its isnad is sahih, and it is a repetition of 5168. His saying, "and it is said to them," in one manuscript in the margin of M, it has "and he says" instead of "and it is said."