There is no wrong in
receiving the salary though the bank, because you take them in return for your job in a place other than the bank, provided that you do not leave it in the bank after it is assigned for you, lest it should be invested in usurious transactions. (Part No. 13; Page No. 289)
May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.