He forbade eating garlic unless it was cooked.
حدثنا مسدد حدثنا الجراح أبو وكيع عن أبي إسحق عن شريك
نهي عن أكل الثوم إلا مطبوخا
Reference, its chain is daif. Tirmidhi narrated it in the Book of Foods, the chapter on permission to eat cooked garlic, hadith 1808, from the hadith of Musaddad, and he said, "This hadith's chain is not that strong." Abu Ishaq used the ambiguous form "an" in his transmission.