Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: There was a tailor in Madinah Munawwarah. He invited the Prophet Muhammad (peace and blessings be upon him) to a meal in which there was barley bread and roasted meat with pumpkin mixed in it. Sayyiduna Anas (may Allah be pleased with him) narrates: I saw that the Prophet Muhammad (peace and blessings be upon him) liked pumpkin, so I began to bring the pumpkin closer to the Prophet (peace and blessings be upon him). Since I saw the Prophet (peace and blessings be upon him) liking it, I have always liked pumpkin as well.
Hadith Referenceصحیح ابن حبان / كتاب الأطعمة / 5293
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - مضى (4522). تنبيه!! رقم (4522) = (4539) من «طبعة المؤسسة». - مدخل بيانات الشاملة -.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الشيخين