Ayesha reported,

Umm Salama mentioned to the Messenger of Allah ﷺ a church she had seen in the land of Abyssinia called Mariya, and she described to him the images she had seen inside it.The Messenger of Allah ﷺ said, "Those are people who, when a righteous slave or a righteous man among them dies, build a place of worship over his grave and paint these images in it. They are the worst of creation in the sight of Allah."

Bukhari 434

Sahih

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

عن عائشة

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

البخاري 434صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer
Chapter
Prayer in churches
Numbering
Darussalam 434
Bukhari 434