Harith bin Suwayd says that a man came to Abdullah bin Mas'ud (may Allah be pleased with him) and said: I have a neighbour, and all I know of his earnings is that they are unlawful or impure. He invites me to eat with him, but I feel it is wrong to go to him, and I also feel uneasy about not going. He said: Accept his invitation; his sin is upon him.
Note: This applies when he does not know that what has been served to him is unlawful; but when he knows that it is unlawful, he should not eat it, just as the Messenger of Allah (peace and blessings be upon him) refused to eat the goat.
Jawwab al-Taymi is not strong.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10824