From Sahih Bukhari (Hadith 5420):
Narrated 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
Reference: Bukhari 5420