Hadithcore
Jami` at-Tirmidhi, 2180
sahih· Darussalam

Abu Waqid Al-Laithi narrated that when the Messenger of Allah (ﷺ) went out to Hunain he passed a tree that the idolaters called Dhat Anwat upon which they hung their weapons. They(the Companions) said:

"O Messenger of Allah! Make a Dhat Anwat for us as they have a Dhat Anwat.' The Prophet (ﷺ) said: "Subhan Allah! This is like what Musa's people said: Make for us a god like their gods. By the One in Whose is my soul! You shall follow the way of those who were before you."

حَدَّثَنَا سَعِيدُ بْنُ عَبْدِ الرَّحْمَنِ الْمَخْزُومِيُّ، حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ سِنَانِ بْنِ أَبِي سِنَانٍ، عَنْ أَبِي وَاقِدٍ اللَّيْثِيِّ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم لَمَّا خَرَجَ إِلَى خَيْبَرَ مَرَّ بِشَجَرَةٍ لِلْمُشْرِكِينَ يُقَالُ لَهَا ذَاتُ أَنْوَاطٍ يُعَلِّقُونَ عَلَيْهَا أَسْلِحَتَهُمْ فَقَالُوا يَا رَسُولَ اللَّهِ اجْعَلْ لَنَا ذَاتَ أَنْوَاطٍ كَمَا لَهُمْ ذَاتُ أَنْوَاطٍ ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏

‏ سُبْحَانَ اللَّهِ هَذَا كَمَا قَالَ قَوْمُ مُوسَى ‏:‏ ‏(‏اجْعَلْ لَنَا إِلَهًا كَمَا لَهُمْ آلِهَةٌ ‏)‏ وَالَّذِي نَفْسِي بِيَدِهِ لَتَرْكَبُنَّ سُنَّةَ مَنْ كَانَ قَبْلَكُمْ ‏

‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏ وَأَبُو وَاقِدٍ اللَّيْثِيُّ اسْمُهُ الْحَارِثُ بْنُ عَوْفٍ ‏.‏ وَفِي الْبَابِ عَنْ أَبِي سَعِيدٍ وَأَبِي هُرَيْرَةَ ‏.‏

References2 variants
In-Book Reference
Book 33, Hadith 23
English Reference
Vol. 4, Book 7, Hadith 2180