Abdul Aziz (may Allah have mercy on him) narrated that a person asked Sayyiduna Anas bin Malik (may Allah be pleased with him), "What have you heard from the Prophet (peace and blessings of Allah be upon him) about garlic?" He replied that the Prophet (peace and blessings of Allah be upon him) said, "Whoever eats from this tree should not come near us," or he said, "should not pray with us."
Hadith Referenceاللؤلؤ والمرجان / كتاب المساجد ومواضع الصلاة / 332
Hadith Gradingمحدثین:«صحیح»
Hadith Takhrij«صحیح، أخرجه البخاري في: 10 كتاب الأذان: 160 باب ما جاء في الثوم النِّيِّ والبصل والكراث»