It wasnarrated that Abu Hurairah said:
"The Messenger of Allah (ﷺ)said: 'Whoever eats from this plant; garlic, let him not annoy uswithit in this mosque of ours.'"
English reference: Vol. 1, Book 5, Hadith 1015
Arabic reference: Book 5, Hadith 1068
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.