It is narrated from Sayyiduna Abu Ayyub al-Ansari (may Allah be pleased with him) that he brought the Messenger of Allah (peace and blessings be upon him) a beef broth that had garlic in it. The Messenger of Allah (peace and blessings be upon him) noticed the smell of the garlic and said: "Take it away." He said: O Messenger of Allah, is it unlawful? He (peace and blessings be upon him) said: "No, but Jibril converses with me in private."
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 4039