Working for Banks

Working for a company that prepares software for banks

Q: I am a software engineer, currently working in a software house, I wanted to switch my job and later on I got a job in a very nice & reputable company. But they worked for banks, basically they are a banking solution provider, I know this thing from the very first day, but due to the lack of my knowledge, I was assuming that working in banks is impermissible and as I will not be going to work in a bank that's why I didn't bother. But when I got the offer letter, I did Istakhara. I did not see anything in my dream or I didn't get the clear picture of what I should do, then I searched on the Internet that what Islam says regarding this issue. I've found in many places that its forbidden to work
for bank or work for such companies who gain their profits from banks, so I refused.

I wanted to know that is it allowed in Islam to work for such companies that help banks? Keeping this in mind that I didn't know at the time of refusal that what kind of software they were requiring me to make.

Working in the banking/financial services industry and looking for a better job

Q: I just want some advice regarding my predicament and also to request your Duas that Allah takes me out of this situation. I have been working in the banking/financial services industry for the last 11 years and at first did not realise that it was wrong but, in the last 6 years or so have been trying very hard to get out but to no avail. I have applied for many hundreds of jobs and I always make Taubah. I used to contribute in Allah's course but now I am scared to. I want to go for Umrah and Hajj but am worried that I will be sinning by doing so. I try to spend on my family within my capacity but always end up feeling depressed as I know where the money is coming from. What can I do to improve my chances of getting a better source of income?