Ayesha and Abdullah bin Abbas reported,

When death drew near to the Messenger of Allah ﷺ, he began to throw a striped cloak over his face. When he became distressed by it, we removed it from him, and he was saying, "May Allah curse the Jews and the Christians, for they took the graves of their prophets as places of worship."Ayesha said, "He was warning against doing the like of what they did."

Ahmad 1884

Sahih

حدثنا عبد الأعلى عن معمر عن الزهري عن عبيد الله بن عبد الله

عن عبد الله بن عباس وعن عائشة أنهما قالا

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

أحمد 1884صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 1884
Ahmad 1884