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."
Reference: Sahih al-Bukhari 854 In-book : Book 10, Hadith 245 USC-MSA web (English) : Vol. 1, Book 12, Hadith 813 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.