ENOfficial
‘Ata’ b. Yasar reported God’s Messenger as saying, “O God, do not let my grave become an idol which is worshipped. God’s anger is severe against people who take the graves of their prophets as mosques.” Malik transmitted it in mursal form.
Source: sunnah.com
Other translations
Arabic
وَعَن عَطاء بْنِ يَسَارٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «اللَّهُمَّ لَا تجْعَل قَبْرِي وثنا يعبد اشْتَدَّ غَضَبُ اللَّهِ عَلَى قَوْمٍ اتَّخَذُوا قُبُورَ أَنْبِيَائهمْ مَسَاجِد» . رَوَاهُ مَالك مُرْسلا
sunnah.com