عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((اَللَّهُمَّ لَا تَجْعَلْ قَبْرِي وَثَنًا، لَعَنَ اللَّهُ قَوْمًا، اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ))
It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: O Allah! Do not make my grave an idol. May Allah curse those people who made the graves of their prophets places of prostration.