Sunan Abi Dawud Book 28, Hadith 47
A tailor invited the Messenger of Allah (ﷺ) to a meal which he had prepared. Anas said: I went along with the Messenger of Allah(ﷺ) barley bread and soup containing pumpkin and dried sliced meat. Anas said: I saw the Messenger of Allah (ﷺ) going after the pumpkin round the dish, so I have always liked pumpkins since that day.
The tradition mentioned above (No. 3771) has also been narrated by Ibn Mas'ud with a different chain of narrators.
This version has: The Prophet (ﷺ) liked the foreleg (of a sheep). Once the foreleg was poisoned, and he thought that the Jews had poisoned it.
The food the Messenger of Allah (ﷺ) liked best was tharid made from bread and tharid made from Hays.
Abu Dawud said: It is a weak (tradition).