Sayyiduna Abu Waqid al-Laythi (may Allah be pleased with him) said: We went out with the Prophet (peace and blessings be upon him), and we had only recently left disbelief; those people had accepted Islam on the day of the Conquest of Makkah. We reached a tree on which the polytheists used to hang their weapons, and near which they would sit in devotion (once) a year; it was called Dhat Anwat. We said: Make a Dhat Anwat for us as well. The Prophet (peace and blessings be upon him) said: "Allahu Akbar! You have said just as the people of Musa (peace be upon him) said: 'Make for us a god just as they have gods' [Surah al-A'raf: 138]." Then he said: "You will surely follow the ways of those who came before you."
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 3281