Ref. No. 39/1079
In the name of Allah the most gracious the most merciful
The answer to your question is as follows:
The deodorant (perfume) which contains alcohol made of grapes and dates is not permissible to use it. But if the perfume contains alcohol which is made of vegetables, then it is permissible to use and perform namaz. Nevertheless, it is better to refrain or use alcohol free perfumes.
And Allah knows best
Darul Uloom Waqf Deoband