"كُلُوه، وَمَنْ أَكَلَهُ مِنكُمْ فَلَا يَقْرَبْ هَذَا الْمَسْجِدَ حَتَّى يَذْهَبَ رِيحُهُ مِنْهُ -يَعْنِي الْثَّومَ-".
The Messenger of Allah ﷺ said: He who eats of this (offensive) plant must not approach our mosque, till its odor dies: (plant signifies) garlic.
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ مَنْ أَكَلَ مِنْ هَذِهِ الْبَقْلَةِ فَلاَ يَقْرَبَنَّ مَسَاجِدَنَا حَتَّى يَذْهَبَ رِيحُهَا يَعْنِي الثُّومَ
The garlic and onions were mentioned before the Messenger of Allah ﷺ. He was told: The most severe of them is garlic. Would you make it unlawful? The Prophet ﷺ said: Eat it, and he who eats it should not come near this mosque until its odour goes away.
أَنَّهُ ذُكِرَ عِنْدَ رَسُولِ اللَّهِ ﷺ الثُّومُ وَالْبَصَلُ قِيلَ يَا رَسُولَ اللَّهِ وَأَشَدُّ ذَلِكَ كُلِّهِ الثُّومُ أَفَتُحَرِّمُهُ فَقَالَ النَّبِيُّ ﷺ كُلُوهُ وَمَنْ أَكَلَهُ مِنْكُمْ فَلاَ يَقْرَبْ هَذَا الْمَسْجِدَ حَتَّى يَذْهَبَ رِيحُهُ مِنْهُ
ذِكْرُ الْعُذْرِ الْعَاشِرِ: وَهُوَ أَكْلُ الْإِنْسَانِ الثُّومَ وَالْبَصَلَ إِلَى أَنْ يَذْهَبَ رِيحُهَا
The garlic and onions were mentioned before the Messenger of Allah ﷺ. He was told: The most severe of them is garlic. Would you make it unlawful? The Prophet ﷺ said: Eat it, and he who eats it should not come near this mosque until its odour goes away. (Using translation from Abū Dāʾūd 3823)
أَنَّهُ ذِكْرُ عِنْدَ رَسُولِ اللَّهِ ﷺ الثُّومُ وَالْبَصَلُ وَقِيلَ يَا رَسُولَ اللَّهِ وَأَشَدُّ ذَلِكَ كُلِّهِ الثُّومُ أَفَنُحَرِّمُهُ؟ فَقَالَ رَسُولُ اللَّهِ ﷺ «كُلُوهُ وَمَنْ أَكَلَهُ مِنْكُمْ فَلَا يَقْرَبْ هَذَا الْمَسْجِدَ حَتَّى تَذْهَبَ رِيحُهُ»
"مَنْ أَكَلَ مِن هَذِه الشَّجرَة -يعني الثَّومَ- فَلا يَقْرَبَنَ مَسْجِدَنَا حتى يذهبَ رِيحُها".
"مَنْ أَكَلَ مِنْ هَذِه الْبَقْلَةِ -يعني الثومَ- فَلَا يَقْرَبَنَّ مَسْجِدَنَا".