Sunan Ibn Majah
1016
Sahih+3

It was narrated that Ibn ‘Umar said:“The Messenger of Allah (ﷺ) said: ‘Whoever eats anything from this plant, let him not come to the mosque.’”

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi