Jami` at-Tirmidhi, Hadith 3119 ⓘ
Narrated Anas bin Malik: "The Messenger of Allah was brought a dish with unripe dates on it. He said: The parable of a goodly word is that of a goodly tree, whose root is firmly fixed, and its branches (reach) to the sky (14:24 & 25).' And he said: 'It is the date-palm.' And the parable of an evil tree uprooted from the surface of the earth, having no stability (14:26). He said: 'It is the colocynth tree.'"
حَدَّثَنَا عَبْدُ بْنُ حُمَيْدٍ، حَدَّثَنَا أَبُو الْوَلِيدِ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ شُعَيْبِ بْنِ الْحَبْحَابِ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ أُتِيَ رَسُولُ اللَّهِ صلى الله عليه وسلم بِقِنَاعٍ عَلَيْهِ رُطَبٌ فَقَالَ " مَثَلُ كَلِمَةٍ طَيِّبَةٍ كَشَجَرَةٍ طَيِّبَةٍ أَصْلُهَا ثَابِتٌ وَفَرْعُهَا فِي السَّمَاءِ تُؤْتِي أُكُلَهَا كُلَّ حِينٍ بِإِذْنِ رَبِّهَا قَالَ هِيَ النَّخْلَةُ : ( مَثَلُ كَلِمَةٍ خَبِيثَةٍ كَشَجَرَةٍ خَبِيثَةٍ اجْتُثَّتْ مِنْ فَوْقِ الأَرْضِ مَا لَهَا مِنْ قَرَارٍ ) قَالَ هِيَ الْحَنْظَلُ " . قَالَ فَأَخْبَرْتُ بِذَلِكَ أَبَا الْعَالِيَةِ فَقَالَ صَدَقَ وَأَحْسَنَ .
also referenced under: Book 47, Hadith 3408 (In-Book) & Volume 5, Book 44, Hadith 3119 (DarusSalam)