You searched for: “osmophobia
olfactophobia, ophresiophobia, osmophobia, osphresiophobia (s) (noun) (no plural)
An irrational dread of certain smells: People who suffer from chronic migraines can have olfactophobia believing that it can be prompted by particular odors.

Jim's mother developed osphresiophobia when her son didn't bathe or shower for two weeks and had a very offensive and unpleasant stench!