Hadithcore
Sahih al-Bukhari, 72
sahih

Narrated Ibn `Umar:

We were with the Prophet (ﷺ) and fresh dates of a palm tree were brought to him. On that he said, "Amongst the trees, there is a tree which resembles a Muslim." I wanted to say that it was the datepalm tree but as I was the youngest of all (of them) I kept quiet. And then the Prophet (ﷺ) said, "It is the date-palm tree."

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

References2 variants
In-Book Reference
Book 3, Hadith 14
USC-MSA web (English) reference
Vol. 1, Book 3, Hadith 72 (deprecated numbering scheme)
Related hadiths3
Compare isnād across 3 related chains →