Your friend must settle the dues after discussing with the bank, however when he got the job in Qatar, it was his duty / obligation to contact bank for clearance of dues,