Ayesha reported,

Umm Habiba and Umm Salama mentioned a church they had seen in Abyssinia which contained images, and they described it to the Prophet ﷺ.He said, "When a righteous man among those people died, they would build a place of worship over his grave and place these images in it. Such people are the worst of creation in the sight of Allah on the Day of Resurrection."

Bukhari 427

Sahih

حدثنا محمد بن المثنى قال حدثنا يحيى عن هشام قال أخبرني أبي

عن عائشة أم المؤمنين

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

البخاري 427صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer
Chapter
Should the graves of the polytheists of Jahiliyyah be exhumed and mosques built in their place
Numbering
Darussalam 427
Bukhari 427