Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:5435ʿAbdullāh b. Munīr > al-Naḍr > Ibn ʿAwn > Thumāmah b. ʿAbdullāh b. Anas > Anas

I was a young boy when I once was walking with Messenger of Allah ﷺ . Messenger of Allah ﷺ entered the house of his slave tailor and the latter brought a dish filled with food covered with pieces of gourd. Allah's Apostle started picking and eating the gourd. When I saw that, I started collecting and placing the gourd before him. Then the slave returned to his work. Anas added: I have kept on loving gourd since I saw Messenger of Allah ﷺ doing what he was doing.  

البخاري:٥٤٣٥حَدَّثَنِي عَبْدُ اللَّهِ بْنُ مُنِيرٍ سَمِعَ النَّضْرَ أَخْبَرَنَا ابْنُ عَوْنٍ قَالَ أَخْبَرَنِي ثُمَامَةُ بْنُ عَبْدِ اللَّهِ بْنِ أَنَسٍ عَنْ أَنَسٍ ؓ قَالَ

كُنْتُ غُلاَمًا أَمْشِي مَعَ رَسُولِ اللَّهِ ﷺ فَدَخَلَ رَسُولُ اللَّهِ ﷺ عَلَى غُلاَمٍ لَهُ خَيَّاطٍ فَأَتَاهُ بِقَصْعَةٍ فِيهَا طَعَامٌ وَعَلَيْهِ دُبَّاءٌ فَجَعَلَ رَسُولُ اللَّهِ ﷺ يَتَتَبَّعُ الدُّبَّاءَ قَالَ فَلَمَّا رَأَيْتُ ذَلِكَ جَعَلْتُ أَجْمَعُهُ بَيْنَ يَدَيْهِ قَالَ فَأَقْبَلَ الْغُلاَمُ عَلَى عَمَلِهِ قَالَ أَنَسٌ لاَ أَزَالُ أُحِبُّ الدُّبَّاءَ بَعْدَ مَا رَأَيْتُ رَسُولَ اللَّهِ ﷺ صَنَعَ مَا صَنَعَ  


See similar narrations below:

Collected by Bukhārī
bukhari:5420ʿAbdullāh b. Munīr > Abū Ḥātim al-Ashhal b. Ḥātim > Ibn ʿAwn > Thumāmah b. Anas > Anas

I went along with the Prophet ﷺ to the house of a young tailor of his. The tailor presented a dish of Tharid to the Prophet ﷺ and resumed his work. The Prophet ﷺ started picking the pieces of gourd and I too, started picking them and putting it before him. Since then I have always loved (to eat) gourd.  

البخاري:٥٤٢٠حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُنِيرٍ سَمِعَ أَبَا حَاتِمٍ الأَشْهَلَ بْنَ حَاتِمٍ حَدَّثَنَا ابْنُ عَوْنٍ عَنْ ثُمَامَةَ بْنِ أَنَسٍ عَنْ أَنَسٍ ؓ قَالَ

دَخَلْتُ مَعَ النَّبِيِّ ﷺ عَلَى غُلاَمٍ لَهُ خَيَّاطٍ فَقَدَّمَ إِلَيْهِ قَصْعَةً فِيهَا ثَرِيدٌ قَالَ وَأَقْبَلَ عَلَى عَمَلِهِ قَالَ فَجَعَلَ النَّبِيُّ ﷺ يَتَتَبَّعُ الدُّبَّاءَ قَالَ فَجَعَلْتُ أَتَتَبَّعُهُ فَأَضَعُهُ بَيْنَ يَدَيْهِ قَالَ فَمَا زِلْتُ بَعْدُ أُحِبُّ الدُّبَّاءَ