مشكوة المصابيح Mishkat al-Masabih كتاب الأطعمة The Book of Foods
(كَرَاهِيَةُ اسْتِعْمَالِ الْبَصَلِ النِّيءِ وَالثُّومِ)

(Disliking the use of raw onions and garlic)

1 hadith
Hadith 4197
وَعَنْ جَابِرٌ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ أَكَلَ ثُومًا أَوْ بَصَلًا فَلْيَعْتَزِلْنَا» أَوْ قَالَ: «فَلْيَعْتَزِلْ مَسْجِدَنَا أَوْ لِيَقْعُدْ فِي بَيْتِهِ» . وَإِنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أُتِيَ بِقِدْرٍ فِيهِ خَضِرَاتٌ مِنْ بُقُولٍ فَوَجَدَ لَهَا رِيحًا فَقَالَ: «قَرِّبُوهَا» إِلَى بَعْضِ أَصْحَابِهِ وَقَالَ: «كُلْ فَإِنِّي أُنَاجِي مَنْ لَا تُناجي»
Jabir reported the Prophet as saying, “He who eats garlic or onions must keep away from us.” Or he said, “must keep away from our mosque,” or, “must sit in his house.” A pot containing green vegetables was brought to the Prophet, but on noticing that it had an odour he told them to give it to one of his Companions, to whom he said, "Eat, for I hold intimate converse with one with whom you do not."* *The reference is here said to be to angels, or particularly to Gabriel. Cf. Mirqat, iv, 373 (Bukhari and Muslim.)
Hadith Reference Mishkat al-Masabih / The Book of Foods / Hadith: 4197
Hadith Grading الألبانی: مُتَّفق عَلَيْهِ  |  زبیر علی زئی: متفق عليه
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (855) و مسلم (564/73)»