It is not permissible for the muhrim (pilgrim in ihram) to use perfume on his body or clothing, because of the hadeeth of Ibn Abbaas (may Allah be pleased with him) according to which a man's camel threw him and broke his neck when we were with the Prophet (blessings and peace of Allah be upon him) and he was in ihram. The Prophet (blessings and peace of Allah be upon him) said: Wash him with water and lotus leaves, and shroud him in his two garments, but do not put any perfume on him or cover his head, for Allah will raise him on the Day of Resurrection reciting the Talbiyah.
Narrated by al-Bukhaari (1267) and Muslim (1206).
Ibn Qudaamah (may Allah have mercy on him) said: The scholars are unanimously agreed that the pilgrim in ihram is forbidden to use perfume. End quote.
The perfume that is forbidden to the pilgrim in ihram includes scented antiperspirant.
But if a person did that out of forgetfulness or ignorance, he does not have to do anything, because Allah, may He be exalted, says (interpretation of the meaning):
Our Lord, take us not to task if we forget and lapse into error inadvertently
And there is no sin on you if you make a mistake therein, except in regard to what your hearts deliberately intend. And Allah is Ever OftForgiving, Most Merciful
See also the answer to question no. 49026.
And Allah knows best.
Reproduced from Islam QA