The Book of Prayers (Kitab Al-Salat)

Muslim :: Book 4 : Hadith 1147

Jabir b. 'Abdullah reported the Apostle of Allah (may peace be upon him) mying: He who eats of this (offensive) plant, i. e garlic, and sometirres he said: He who eats onion and garlic and leek, should not approach our mosque for the angels are harmed by the same things as the children of Adam.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star