The Prophet Muhammad صلى الله عليه وعلى آله وسلم said: "Do not take my grave as a qibla (direction of prayer) or a mosque. Indeed, Allah سبحانه وتعالى, the Exalted and Glorious, cursed the Jews when they took the graves of their prophets as places of worship."