´It was narrated that Umm Ayyub said:` “I made some food for the Prophet (ﷺ) in which there were some vegetables. He did not eat it, and he said: ‘I do not like to annoy my companion.’”
Related hadith on this topic
Explanation & Benefits
Shaykh Muhammad Ibrahim bin Basheer
Benefit:
This hadith proves that anything which, when eaten or used, causes bad breath to emanate from the mouth is disliked, such as: onions, garlic, hookah, cigarettes, etc. It should be noted that there is no harm in eating onions and garlic after cooking them, because the odor is eliminated thereby. Furthermore, it is also understood that Allah Ta'ala has placed sensory perception (quwwat-e-hiss) in Jibreel Amin (alayhis salam) as well, which is why he too experiences discomfort. Some hadith scholars (muhaddithin) and successors (tabi'in) have seen the Noble Prophet (sallallahu alayhi wa sallam) in their dreams. Some people, however, fabricate false dreams themselves and go around impressing others; one should not fall for their deceptions.
Source: Musnad al-Humaydi: Commentary by Muhammad Ibrahim bin Bashir, Page: 342