Sahih Bukhari – Hadith No : 856

Narrated `Abdul `Aziz: A man asked Anas, “What did you hear from the Prophet about garlic?” He said, “The Prophet said, ‘Whoever has eaten this plant should neither come near us nor pray with us.”

Hadith In Arabic Text :

حدثنا أبو معمر، قال حدثنا عبد الوارث، عن عبد العزيز، قال سأل رجل أنسا ما سمعت نبي الله صلى الله عليه وسلم في الثوم فقال قال النبي صلى الله عليه وسلم ‏”‏ من أكل من هذه الشجرة فلا يقربنا، أو لا يصلين معنا ‏”‏‏.‏

Chapter : Call to Prayers (Adhaan) – كتاب الأذان