The Messenger of Allah ﷺ disliked that any unpleasant odor be detected from him.
حدثنا أبو الربيع الزهراني حدثنا إسماعيل بن عياش عن عمران بن أبي الفضل الأيلي عن هشام بن عروة عن أبيه
أن رسول الله ﷺ كان يكره أن يوجد منه ريح يتأذى منه
No references are available.
Its chain of transmission is daif, because of Imran bin Abu Fudayl al-Ayli, whom Ahmad and others declared daif, and they accused him regarding this hadith and considered it munkar. But this is not accepted, for "all of it" here means "most of it," as reported in the sahih collections. See 24997.