The Messenger of Allah ﷺ said, "Allah, do not make my grave an idol to be worshipped. Allah's anger has grown severe against a people who took the graves of their prophets as places of worship."
و حدثني عن مالك عن زيد بن أسلم
أن رسول الله ﷺ قال اللهم لا تجعل قبري وثنا يعبد اشتد غضب الله على قوم اتخذوا قبور أنبيائهم مساجد