Mughira bin Shuba reported,

I had eaten garlic, then came to the prayer place of the Prophet ﷺ, by which time one rakah had already been performed. When I entered the mosque, the Prophet ﷺ caught the smell of garlic. After the Messenger of Allah ﷺ finished his prayer, he said, "Whoever has eaten from this plant should not come near us until its smell is gone."When the prayer ended, I came to the Messenger of Allah ﷺ and said, "Messenger of Allah, by Allah, you must give me your hand."I then placed his hand inside the sleeve of my shirt and brought it to my chest, and he found my chest tightly bound.He said, "You have a valid excuse."

Abu Dawud 3826

Sahih

حدثنا شيبان بن فروخ حدثنا أبو هلال حدثنا حميد بن هلال عن أبي بردة

عن المغيرة بن شعبة قال

أكلت ثوما فأتيت مصلى النبي ﷺ وقد سبقت بركعة فلما دخلت المسجد وجد النبي ﷺ ريح الثوم فلما قضى رسول الله ﷺ صلاته قال من أكل من هذه الشجرة فلا يقربنا حتى يذهب ريحها أو ريحه فلما قضيت الصلاة جئت إلى رسول الله ﷺ فقلت يا رسول الله والله لتعطيني يدك قال فأدخلت يده في كم قميصي إلى صدري فإذا أنا معصوب الصدر قال إن لك عذرا

أبو داود 3826صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Foods
Chapter
Eating garlic
Numbering
Darussalam 3826
Abu Dawud 3826