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