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