Narrated 'Ata': I heard Jabir bin 'Abdullah saying, "The Prophet said, 'Whoever eats (from) this plant (he meant garlic) should keep away from our mosque." I said, "What does he mean by that?" He replied, "I think he means only raw garlic."
— Sahih Bukhari, Volume 1, Book 12: Characteristics of Prayer, Hadith #813
