I am a computer science student and I have an offer to work in a company as a software developer. That company does not develop their own software, but is hired by others. At the job interview they told me, that some of their clients are companies that run web sites for sports betting. Am I allowed to work there?
You would be allowed to work for the aforementioned company as a software developer as long as you undertake only develope softwares for those companies that do not engage in any Haram (unlawful) activities. If they ask you to assist a company whose main business is Haram then you would have to refuse such assignment.
And Allah knows best.
Mufti Ikram ul Haq
Fatwa Center of America