The hadith under discussion has a strong corroborating report from Anas, attributed to the Prophet with the same wording.
Al-Ṭabarānī recorded it in al-Muʿjam al-Awsaṭ (4/392/3668): Sulaymān ibn Dāwūd al-Ṭabīb narrated to us; he said: Shaybān ibn Farrūkh narrated to us; he said: Sallām ibn Miskīn narrated to us, from Thābit, from Anas. He said:
“No one narrated it from Sallām ibn Miskīn except Shaybān ibn Farrūkh.”
I say: He was one of Muslim’s shaykhs in his Ṣaḥīḥ, and although some criticism has been voiced concerning him, it is not detrimental. Those above him in the chain are narrators relied upon by both al-Bukhārī and Muslim. Thus, the chain of transmission is authentic, were it not for the fact that I have found no biographical entry for al-Ṭabarānī’s shaykh, Sulaymān ibn Dāwūd al-Ṭabīb. Al-Ṭabarānī narrated only one other hadith from him, which suggests that he was not well known among his shaykhs. After this, I do not know the basis for al-Haythamī’s statement (2/17):
“Al-Ṭabarānī narrated it in al-Awsaṭ, and its narrators have been deemed trustworthy.”
For if this lenient declaration of trustworthiness concerns the shaykh, then who declared him trustworthy? And if it refers to those above him, excluding him, then you already know that they are narrators relied upon by the two Ṣaḥīḥs. We have known al-Haythamī not to criticize any of them, even where there is valid ground for criticism, such as Ibn Isḥāq, Sharīk, and others. Indeed, he often says of certain chains of transmission, “Its narrators are the narrators of the Ṣaḥīḥ,” even if one of them is among the likes of those just mentioned—men whom scholars have declared weak.
It is recorded in the two Ṣaḥīḥs through another route from Anas, in a shorter wording:
“Whoever eats from this plant should not come near us or pray with us.”
Abū ʿAwānah also recorded it (2/17–18).
The hadith under discussion is recorded by him at (1/407–410).