Mu'awiya said on the authority of his father that God’s Messenger forbade these two plants, i e., onions and garlic, and said, “He who eats them must not come near our mosque.” He also said, “If you must eat them, suppress their odour* by cooking.” * Lit. put them to death. Abu Dawud transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب الصلاة / 736
Hadith Gradingالألبانی:صَحِيح | زبیر علی زئی:إسناده حسن
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده حسن، رواه أبو داود (3827) [والنسائي في الکبري (6681) و أحمد (19/4) ]»