Sayyiduna Jabir bin Samurah (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: "Whoever eats this offensive vegetable (by which the Prophet (peace and blessings be upon him) meant garlic) should stay sitting in his house."
Al-Bazzar recorded it, and its chain contains majhul (unknown) narrators.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 1992