Yahya related to me from Malik from Ibn Shihab from Said ibn al-Musayyab that the Messenger of Allah, may Allah bless him and granthim peace, said, "Anyone who eats this plant should not come near ourmosques. The smell of the garlic will offend us." (DE)
App reference (DE): Book 1, Hadith 30 (DE)
USC-MSA web (English) reference: Book 1, Hadith 30 (DE)
Arabic reference (DE): Book 1, Hadith 31 (DE)