It is narrated from Sayyiduna Hudhayfah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said three times: "Whoever eats anything of this offensive plant must not come near our mosque." Imam Ibn Hibban also narrated this hadith in his Sahih, and Imam Ishaq explained that this plant means garlic.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 1023
Hadith Gradingمحدثین:أخرجه ابن حبان في صحيحه
Hadith Takhrij«أخرجه سنن أبي داود برقم: 3824، وأخرجه فتح الباري برقم: 397، 816، 818، وأخرجه صحيح ابن خزيمة برقم: 1314، وأخرجه صحيح ابن حبان برقم: 1639، 1643»