Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:6649Sulaymān b. Manṣūr > Abū al-Aḥwaṣ > Ḥuṣayn > Sālim b. Abū al-Jaʿd

[Machine] Umar said, "Beware of eating the food that the Messenger of Allah ﷺ disliked, such as garlic and onions. Whoever desires to eat them should not do so until they are well-cooked."  

الكبرى للنسائي:٦٦٤٩أَخْبَرَنَا سُلَيْمَانُ بْنُ مَنْصُورٍ قَالَ حَدَّثَنَا أَبُو الْأَحْوَصِ عَنْ حُصَيْنٍ عَنْ سَالِمِ بْنِ أَبِي الْجَعْدِ قَالَ

قَالَ عُمَرُ «إِيَّاكُمْ وَطَعَامًا كَانَ رَسُولُ اللهِ ﷺ يَكْرَهُهُ الثُّومَ وَالْبَصَلَ فَمَنْ أَرَادَ أَكْلَهُ فَلَا يَأْكُلْهُ حَتَّى يَقْتُلَهُ بِالنُّضْجِ»