Sahih al-Bukhari 4443, 4444
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لَعْنَةُ اللَّهِ عَلَى الْيَهُودِ وَالنَّصَارَى، اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ "
`Aisha and `Abdullah bin `Abbas said, "When Allah's Messenger (ﷺ) became ill seriously, he started covering his face with his woolen sheet, and when he felt short of breath, he removed it from his face and said, 'That is so! Allah's curse be on the Jews and the Christians, as they took the graves of their prophets as (places of worship),' intending to warn (the Muslims) of what they had done."
Full reference and source
Sahih al-Bukhari 4443, 4444 In-book : Book 64, Hadith 464 USC-MSA web (English) : Vol. 5, Book 59, Hadith 727 (deprecated)
View source on Sunnah.com (opens in a new tab)