IBNHIBBAN 1644:
from Jābir b. ʿAbdullāh —
"The Messenger of Allah ﷺ said: 'Whoever eats of this plant' - the first time he said 'garlic' then he said, 'garlic, onions and leeks' [1] - 'let him not approach us in our Masjids, for the angels are offended by that which offends mankinds.'" [1] In Fath, Al-Bari, Ibn Hajar is of the opinion that it was Ibn Juraij who was talking, explaining that 'Ata' - who reported it from Jabir - narrated it both ways. (Using translation from Nasāʾī 707)
ابن حبّان ١٦٤٤:
عن جابر بن عبد الله —
عَنْ رَسُولِ اللَّهِ ﷺ قَالَ «مَنْ أَكَلَ مِنْ هَذِهِ الْبَقْلَةِ الثُّومِ وَالْبَصَلِ وَالْكُرَّاثِ فَلَا يَغْشَنَا فِي مَسَاجِدِنَا فَإِنَّ الْمَلَائِكَةَ تَتَأَذَّى مِمَّا يَتَأَذَّى مِنْهُ الْإِنْسُ»
hadithunlocked.com