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."
سَمِعْتَ نَبِيَّ اللَّهِ ﷺ فِي الثُّومِ فَقَالَ قَالَ النَّبِيُّ ﷺ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ فَلاَ يَقْرَبْنَا أَوْ لاَ يُصَلِّيَنَّ مَعَنَا