Sahih Muslim – Hadith No : 1215

‘A’isha and Abdullah reported: As the Messenger of Allah (may peace be upon him) was about to breathe his last, he drew his sheet upon his face and when he felt uneasy, he uncovered his face and said in that very state: Let there be curse upon the Jews and the Christians that they have taken the graves of their apostles as places of worship. He in fact warned (his men) against what they (the Jews and the Christians) did.

Hadith In Arabic Text :

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

Chapter : The Book of Mosques and Places of Prayer – كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ