It wasnarrated that Ibn 'Umar said:
"The Messenger of Allah (ﷺ)said:'Whoever eats anything from this plant, let him not come to themosque.'" (RU)
English reference (RU): Vol. 1, Book 5, Hadith 1016 (RU)
Arabic reference (RU): Book 5, Hadith 1069 (RU)