It was said to Anas "What did you hear the Prophet ﷺ saying about garlic?" Anas replied, "Whoever has eaten (garlic) should not approach our mosque."
سَمِعْتَ النَّبِيَّ ﷺ فِي الثُّومِ فَقَالَ مَنْ أَكَلَ فَلاَ يَقْرَبَنَّ مَسْجِدَنَا
It was said to Anas "What did you hear the Prophet ﷺ saying about garlic?" Anas replied, "Whoever has eaten (garlic) should not approach our mosque."
سَمِعْتَ النَّبِيَّ ﷺ فِي الثُّومِ فَقَالَ مَنْ أَكَلَ فَلاَ يَقْرَبَنَّ مَسْجِدَنَا
The Messenger of Allah ﷺ said: He who eats of this plant (garlic) should not approach our mosque and should not harm us with the odour of garlic.
قَالَ رَسُولُ اللَّهِ ﷺ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ فَلاَ يَقْرَبَنَّ مَسْجِدَنَا وَلاَ يُؤْذِيَنَّا بِرِيحِ الثُّومِ
The Prophet ﷺ said: He who eats from this plant should not come near the mosques.
أَنَّ النَّبِيَّ ﷺ قَالَ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ فَلاَ يَقْرَبَنَّ الْمَسَاجِدَ
The Prophet ﷺ said: He who eats from this plant should not come near the mosques. (Using translation from Abū Dāʾūd 3825)
أَنَّ النَّبِيَّ ﷺ قَالَ «مَنْ أَكَلَ مِنْ هَذِهِ الْبَقْلَةِ فَلَا يَقْرَبَنَّ مَسْجِدِنَا»
"مَنْ أَكَلَ مِنْ هَذِه الشَّجرَة فَلَا يَقْرَبَنَّ مَسْجِدَنَا".
"مَنْ أكَلَ مِنْ هَذِه الشَّجَرَةِ فَلَا يَقْرَبَنَّ مَساجِدَنَا -يعني الثَّوم-".
"مَنْ أكَلَ مِنْ هَاتَين الشَّجَرَتَين فَلَا يَقْرَبَنَ مَسْجدَنا" .
"مَنْ أَكَلَ مِنْ هَذِه الشَّجَرَةِ، فَلا يَقْرَبَنَّ المَسَاجِدَ".
"مَنْ أَكَلَ مِنْ هَذِه الْبَقْلَةِ -يعني الثومَ- فَلَا يَقْرَبَنَّ مَسْجِدَنَا".