It was narrated from Ma’dan bin Abu Talhah Al-Ya’muri that ‘Umar bin Khattab stood up one Friday to deliver a sermon, or, he delivered a sermon one Friday. He praised Allah, then he said:
“O people, you eat two plants that I find are nothing but obnoxious; this garlic and this onion. At the time of the Messenger of Allah (ﷺ), if a foul odour was detected from a man, I would see him seized by the arm and taken out to Al-Baqi’. Whoever must eat them, let him cook them to death.”