(13) باب مَا جَاءَ فِي كَرَاهِيَةِ أَكْلِ الثُّومِ وَالْبَصَلِ
Narrated Jabir bin Samurah:
"The Messenger of Allah (ﷺ) was staying with Abu Ayyub. When he ate some food, he would send what was left to him. So one day he sent him some food but the Prophet (ﷺ) did not eat from it. So Abu Ayyub went to the Prophet (ﷺ) and mentioned that to him. The Prophet (ﷺ) said: 'It contained garlic.' So he said: 'O Messenger of Allah! Is it unlawful?' He said: 'No, I dislike it because of its odor.'"He said: This Hadith is Hasan Sahih.
Reference: Jami` at-Tirmidhi 1807
In-book reference: Book 25, Hadith 21
English translation: Vol. 3, Book 23, Hadith 1807