It is narrated from Hazrat Aisha (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) said: "The curse of Allah is upon those people who made the graves of their prophets places of prostration."