Mishkat al-Masabih
‘Imran b. Husain said God’s Messenger forbade accepting invitations to food provided by profligates. Baihaqi transmitted in Shu'ab al-iman
وَعَن عمرَان ين حُصَيْنٍ قَالَ: نَهَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِجَابَة طَعَام الْفَاسِقين
Reference