Sahih al-Bukhari, Hadith 2209

Narrated Ibn `Umar: I was with the Prophet while he was eating fresh dates. He said, "From the trees there is a tree which resembles a faithful believer." I wanted to say that it was the date palm, but I was the youngest among them (so I kept quiet). He added, "It is the date palm."

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

sunnah.com