Ma'n bin Isa (may Allah have mercy on him) said: I heard Malik bin Anas (may Allah have mercy on him) saying: Whoever reviles the Companions of the Messenger of Allah (peace and blessings be upon him) has no right in the fay'. Allah Almighty says: "For the poor emigrants who were expelled from their homes and their properties, seeking bounty from Allah and (His) pleasure" [Surah al-Hashr: 8]; this verse is about the Companions of the Messenger of Allah (peace and blessings be upon him) who emigrated with him (peace and blessings be upon him). Then He said: "And those who settled in the home and (adopted) the faith" [Surah al-Hashr: 9]; these are the Ansar. Then He said: "And those who came after them" [Surah al-Hashr: 10]. Malik (may Allah have mercy on him) said: Allah Almighty has made a specification, saying: "They say: Our Lord, forgive us and our brothers who preceded us in faith" [Surah al-Hashr: 10]. So the fay' is for these three, and whoever reviles the Companions of the Messenger of Allah (peace and blessings be upon him) is not among these three, and he has no right in the fay'.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الفيء والغنيمة / 13111