The Messenger of Allah ﷺ said, "Whoever has eaten anything from this tree should not come near us," or, "should not pray with us."
حدثنا إسماعيل بن إبراهيم حدثنا عبد العزيز بن صهيب قال
رسول الله ﷺ من أكل من هذه الشجرة شيئا فلا يقربن أو لا يصلين معنا
Its isnad is sahih, it was previously mentioned at 11566.