It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) used to supplicate: "O Allah, do not make my grave an idol (that people begin to worship)." The curse of Allah is upon those people who make the graves of their prophets places of prostration.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7358