Sayyiduna Abu Huraira (may Allah be pleased with him) narrates this statement of the Prophet (peace and blessings be upon him): "Whoever eats from this tree should by no means cause us discomfort in our gatherings." By this, the Prophet (peace and blessings be upon him) meant garlic.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1645
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - انظر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرطهما.