It is permissible to eat garlic, but the one who is going to address prominent people should refrain from eating it, and the same applies to other, similar foods
باب إِبَاحَةِ أَكْلِ الثُّومِ وَأَنَّهُ يَنْبَغِي لِمَنْ أَرَادَ خِطَابِ الْكِبَارِ تَرْكُهُ وَكَذَا مَا فِي مَعْنَاهُ
Sahih Muslim, Book of The Book of Drinks(view book)
Abd Ayydb Ansari reported that when food was brought to Messenger of Allah ﷺ he ate out of that, and sent the remaining part to me, and one day he sent to me the left-over;
(I found that he) had not taken from it at all for it included garlic. I asked him whether that was forbidden, whereupon he said: No, but I do not like it because of its odour. He (Abu Ayyub Ansiri) said: Then I also do not like what you do not like.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، وَابْنُ، بَشَّارٍ - وَاللَّفْظُ لاِبْنِ الْمُثَنَّى - قَالاَ حَدَّثَنَا مُحَمَّدُ، بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ، عَنْ سِمَاكِ بْنِ حَرْبٍ، عَنْ جَابِرِ بْنِ سَمُرَةَ، عَنْ أَبِي أَيُّوبَ الأَنْصَارِيِّ، قَالَ كَانَ رَسُولُ اللَّهِ ﷺ إِذَا أُتِيَ بِطَعَامٍ أَكَلَ مِنْهُ وَبَعَثَ بِفَضْلِهِ إِلَىَّ وَإِنَّهُ بَعَثَ إِلَىَّ يَوْمًا بِفَضْلَةٍ لَمْ يَأْكُلْ مِنْهَا لأَنَّ فِيهَا ثُومًا فَسَأَلْتُهُ أَحَرَامٌ هُوَ قَالَ " لاَ وَلَكِنِّي أَكْرَهُهُ مِنْ أَجْلِ رِيحِهِ " . قَالَ فَإِنِّي أَكْرَهُ مَا كَرِهْتَ .
Classification
This Hadith is narrated on the authority of Shu'ba with the same chain of transmitters.
وَحَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنْ شُعْبَةَ، فِي هَذَا الإِسْنَادِ .
Classification
Aflah, the freed slave of Abu Ayyub Ansiri, reported: Allah's Messnger ﷺ had alighted in his house (viz. of Abu Ayyub Ansari at the time of his emigration to Medina) and he occupied the lower storey, whereas Abu Ayyub Ansari lived in the upper storey. One night, Abu Ayyub Ansari got up and said (to himself): (How unfortunate it is) that we walk above the head of Messenger of Allah ﷺ, so they went aside and spent the night in a nook and then told Allah's Apostle ﷺ about it whereupon Allah's Apostle ﷺ said: The lower storey is more comfortable (for me). but he (Abu Ayyub Ansari) said: We (would not live) over the roof under which you live. So Messenger of Allah ﷺ shifted to the upper storey, whereas Abu Ayyub Ansari shifted to the lower storey;
and he (Abu Ayyub Ansari) used to prepare food for Allah's Apostle ﷺ ;
and when it was brought (back) to him he asked (to locate) the part, where his fingers had touched (the food), and he followed his fingers on that part where his fingers (those of the Holy Prophet) had touched it. (One day) he prepared food which contained garlic, and when it was returned to him he asked (to locate) the part which the fingers of Allah's Apostle ﷺ had touched. It was said to him that he had not eaten (the food). He (Abd Ayyub Ansari) was distressed and went up to him (to the Holy Prophet) and said: Is it forbidden? But Messenger of Allah ﷺ said: No, (it is not forbidden), but I do not like it. and he (Abu Ayyub Ansari) said: I also do not like what you do not like or which you did not like. He (Abu Ayyub Ansari) said: (The Holy Prophet did not eat garlic) as Allah's Apostle ﷺ was visited (by angels) and brought him the message of Allah.
وَحَدَّثَنِي حَجَّاجُ بْنُ الشَّاعِرِ، وَأَحْمَدُ بْنُ سَعِيدِ بْنِ صَخْرٍ، - وَاللَّفْظُ مِنْهُمَا قَرِيبٌ - قَالاَ حَدَّثَنَا أَبُو النُّعْمَانِ، حَدَّثَنَا ثَابِتٌ، - فِي رِوَايَةِ حَجَّاجِ بْنِ يَزِيدَ أَبُو زَيْدٍ الأَحْوَلُ - حَدَّثَنَا عَاصِمٌ، عَنْ عَبْدِ اللَّهِ بْنِ الْحَارِثِ، عَنْ أَفْلَحَ، مَوْلَى أَبِي أَيُّوبَ عَنْ أَبِي أَيُّوبَ، أَنَّ النَّبِيَّ ﷺ نَزَلَ عَلَيْهِ فَنَزَلَ النَّبِيُّ ﷺ فِي السُّفْلِ وَأَبُو أَيُّوبَ فِي الْعُلْوِ - قَالَ - فَانْتَبَهَ أَبُو أَيُّوبَ لَيْلَةً فَقَالَ نَمْشِي فَوْقَ رَأْسِ رَسُولِ اللَّهِ ﷺ . فَتَنَحَّوْا فَبَاتُوا فِي جَانِبٍ ثُمَّ قَالَ لِلنَّبِيِّ ﷺ فَقَالَ النَّبِيُّ ﷺ " السُّفْلُ أَرْفَقُ " . فَقَالَ لاَ أَعْلُو سَقِيفَةً أَنْتَ تَحْتَهَا . فَتَحَوَّلَ النَّبِيُّ ﷺ فِي الْعُلْوِ وَأَبُو أَيُّوبَ فِي السُّفْلِ فَكَانَ يَصْنَعُ لِلنَّبِيِّ ﷺ طَعَامًا فَإِذَا جِيءَ بِهِ إِلَيْهِ سَأَلَ عَنْ مَوْضِعِ أَصَابِعِهِ فَيَتَتَبَّعُ مَوْضِعَ أَصَابِعِهِ فَصَنَعَ لَهُ طَعَامًا فِيهِ ثُومٌ فَلَمَّا رُدَّ إِلَيْهِ سَأَلَ عَنْ مَوْضِعِ أَصَابِعِ النَّبِيِّ ﷺ فَقِيلَ لَهُ لَمْ يَأْكُلْ . فَفَزِعَ وَصَعِدَ إِلَيْهِ فَقَالَ أَحَرَامٌ هُوَ فَقَالَ النَّبِيُّ ﷺ " لاَ وَلَكِنِّي أَكْرَهُهُ " . قَالَ فَإِنِّي أَكْرَهُ مَا تَكْرَهُ أَوْ مَا كَرِهْتَ . قَالَ وَكَانَ النَّبِيُّ ﷺ يُؤْتَى .