Sahih al-Bukhari 434
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أُولَئِكَ قَوْمٌ إِذَا مَاتَ فِيهِمُ الْعَبْدُ الصَّالِحُ ـ أَوِ الرَّجُلُ الصَّالِحُ ـ بَنَوْا عَلَى قَبْرِهِ مَسْجِدًا، وَصَوَّرُوا فِيهِ تِلْكَ الصُّوَرَ، أُولَئِكَ شِرَارُ الْخَلْقِ عِنْدَ اللَّهِ "
Narrated `Aisha:
Um Salama told Allah's Messenger (ﷺ) about a church which she had seen in Ethiopia and which was called Mariya. She told him about the pictures which she had seen in it. Allah's Messenger (ﷺ) said, "If any righteous pious man dies amongst them, they would build a place of worship at his grave and make these pictures in it; they are the worst creatures in the sight of Allah."
Full reference and source
Sahih al-Bukhari 434 In-book : Book 8, Hadith 84 USC-MSA web (English) : Vol. 1, Book 8, Hadith 426 (deprecated)
View source on Sunnah.com (opens in a new tab)