In the Name of Allah, the Most Gracious, the Most Merciful.
As-Salāmu ʿAlaykum Wa-Raḥmatullāhi Wa-Barakātuh
In principle, being a barber is permissible. However, shaving the beard, unislamic hairstyles and providing services to a non-maḥram female are impermissible.
Touching a non-maḥram female is impermissible, even without lust or sexual intention. Therefore, a male barber should not cut the hair of a non-maḥram female.
As for the wages you have received, if you are poor, you may use them. Nevertheless, if your current occupation regularly involves impermissible services, you should actively seek another occupation that allows you to earn a ḥalāl income with greater peace of mind and leave your current employment once you have an alternative. [1]
And Allah Taʿāla Knows Best.
Baba Abu Bakr
Student Darul Iftaa
Accra, Ghana
Checked and Approved by
Mufti Muhammad Zakariyya Desai
https://iftaa.co.za/20018/muslim-barber-cutting-a-non-mahram-womans-hair/