Sahih Muslim #2041 c
The Book of Drinks 36:201
Anas b. Malik rdported that a tailor invited Allah's Messenger (ﷺ) to a feast. There has been an addition to this that Thabit said:
I heard Anas saying that any meal that was prepared for me after that I tried that it should contain pumpkin.