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."
Narrated `Aisha and `Abdullah bin `Abbas
When the last moment of the life of Allah's Messenger (ﷺ) came he started putting his 'Khamisa' on his face and when he felt hot and short of breath he took it off his face and said, "May Allah curse the Jews and Christians for they built the places of worship at the graves of their Prophets." The Prophet (ﷺ) was warning (Muslims) of what those had done.
Narrated Abu Huraira
Allah's Messenger (ﷺ) said, "May Allah's curse be on the Jews for they built the places of worship at the graves of their Prophets."