Sayyiduna Abu Waqid al-Laythi (may Allah be pleased with him) said: We went out with the Messenger of Allah (peace and blessings be upon him) towards Hunayn, and we passed by a lote tree. I said: O Messenger of Allah, make this a "Dhat Anwat" for us, just as the disbelievers have a Dhat Anwat. (The disbelievers used to hang their weapons on a lote tree and sit around it in devotion.) The Prophet (peace and blessings be upon him) said: "Allahu Akbar! This is just as the Children of Israel said to Musa (peace be upon him): 'Make for us a god just as they have gods' [Surah al-A'raf: 138]. You will surely follow the ways of those who came before you."
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 3277