It is narrated from Sayyiduna Imran bin al-Husayn (may Allah be pleased with him) that he said: "The Messenger of Allah (peace and blessings be upon him) forbade accepting invitations to the food of the wicked (fasiqs)."
This hadith is narrated from Sayyiduna Imran bin al-Husayn (may Allah be pleased with him) only with this chain, and Abd al-Rahim bin Mutarrif (may Allah have mercy on him) is alone in narrating it.
Hadith Referenceالمعجم الأوسط / باب الألف / 441
Hadith Takhrij«أخرجه الطبراني فى «الكبير» برقم: 376»