All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
Wearing perfume is recommended without a doubt; the Prophet, sallallaahu ‘alayhi wa sallam, loved perfume. The person should not be blamed for doing what the Prophet, sallallaahu ‘alayhi wa sallam, loved. The fact that some people have health conditions that make them develop an aversion to perfume is not a valid reason for others to give up wearing perfume because the number of the people with health conditions is relatively small compared to the healthy ones.
Moreover, if someone finds a sharp smell of perfume that harms him, he should find another place to stand in. If he does not find such a place, then he has a concession to miss the congregational prayer if attending it harms him. In any case, perfume, which the Prophet, sallallaahu ‘alayhi wa sallam, loved, can never be compared to garlic and onion, which he described as foul plants (meaning foul-smelling).
Allah knows best.