Narrated Ali ibn Abu Talib: It is forbidden to eat garlic unless it is cooked. Abu Dawud said: The full name of the narrator Sharik is Sharik bin Hanbal.
Hadith Referenceسنن ابي داود / كتاب الأطعمة / 3828
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:ضعيف, إسناده ضعيف, ترمذي (1808), أبو إسحاق عنعن واختلط أيضًا (انظر التقريب : 5065), والحديث ضعفه الترمذي, انوار الصحيفه، صفحه نمبر 136
‘Ali (may Allah be pleased with him) says that garlic has been prohibited except when it is cooked 1.
Shaykh Dr. Abdur Rahman Freywai
Explanation: 1⎔: By cooking, the odor found in it is eliminated, therefore, there is no harm in eating it and then going to the mosque.
Note: (In the chain of narration, Abu Ishaq as-Sabi'i is a narrator who became confused in old age (mukhtalit) and practiced tadlis (mudallis), but on the basis of supporting narrations, this hadith is sahih li ghayrihi (authentic due to corroborating evidence), al-Irwa: 2512)
Source: Sunan al-Tirmidhi – Majlis ‘Ilmi Dar al-Da‘wah, New Delhi Edition, Page: 1808
Urdu Footnote: Note: (In the chain of narration, Abu Ishaq al-Sabi'i is a mudallis (one who practices tadlis) and a mukhtalit (one whose memory became confused).)
Source: Sunan al-Tirmidhi – Majlis ‘Ilmi Dar al-Da‘wah, New Delhi Edition, Page: 1809