Umm Habiba and Umm Salama mentioned a church they had seen in Abyssinia which contained images. The Messenger of Allah ﷺ said, "When a righteous man among those people died, they would build a place of worship over his grave and produce these images in it. They are the worst of creation before Allah on the Day of Resurrection."
أخبرنا يعقوب بن إبراهيم قال حدثنا يحيى قال حدثنا هشام بن عروة قال حدثني أبي
أن أم حبيبة وأم سلمة ذكرتا كنيسة رأتاها بالحبشة فيها تصاوير فقال رسول الله ﷺ إن أولئك إذا كان فيهم الرجل الصالح فمات بنوا على قبره مسجدا وصوروا تيك الصور أولئك شرار الخلق عند الله يوم القيامة
Bukhari transmitted it, Prayer, chapter, "Are the graves of the polytheists of the pre-Islamic era to be dug up," etc, hadith 427, and Muslim, Masjids, chapter on the prohibition of building a masjid over graves, etc, hadith 528, from the hadith of Qattan, through him, and it is in Kubra, hadith 783.