Shuayb ibn Habbab reported from Sayyidina Anas ibn Maalik (RA) that some dates, dry and fresh were presented to Allah’s Messenger (SAW). He recited: "A good word is a good tree, having its root firm and its branches in the sky. It brings its fruits at all times with the will of its Lord. (14: 24-25) He said, “This is the date palm tree. And he recited: And the parable of a bad word is like a bad tree, removed from the top soil, having no firm root. (14:26) He said, “This is colocynth.”
The narrator said that he informed Abul Aaliyah about it and he said that was true and correct.