Answered by Mufti Mohammed Tosir Miah
Working in IT department for a betting company
In the aforementioned scenario, the nature of the job i.e. working in an IT department is permissible. However, the impermissibility and unlawfulness comes with regards to your salary. The money from betting companies are unlawful and they are going to be used for your salary.
Therefore, the conclusion we can come to is that it is not permissible to work in the IT department of a betting company. We as Muslims have to make sure our jobs and salary are 100% lawful.
Saiduna Abu Hurayah narrates that the Prophet of Allah said: “Allah is pure and accepts only that which is pure. Allah has commanded the faithful to do that which he commanded the messengers.” And Allah has said: “o you who believe! Eat of the pure things and do right.” Allah has said: “oh you who believe! Eat of the pure things we have provided you.” Then the Prophet of Allah mentioned a man who journeyed far and dishelved and dusty and spends out oh his hand to the Heavens: “O lord! O Lord! While his food is unlawful, and he is nourished unlawfully, so how can his dua be answered!” (Sahih Muslim)
From this Hadith we can understand that unlawful income does have an effect on ones worship and acceptance of ones duas.
Saaiduna Abu Bakr narrated that the Prophet of Allah said “That body will not enter Paradise which has been nourished with Haram” (Sunan Baihaqi)
Saaiduna Ka`b Bin Ujrah narrates that the Prophet of Allah said, “A body nourished with Haram will not enter Jannah”. (Sunan Tirmizi)
Saaiduna Jabir Bin Abdullah narrates that the Prophet of Allah said, “That flesh will not enter Paradise which has grown from Haram, and all that flesh which has grown from Haram, the fire (of hell) is more worthy of it.” (Musnad Ahmad, Sunan Darimi & Sunan Baihaqi)
Only Allah Knows Best
Mohammed Tosir Miah
Darul Ifta Birmingham.
This answer was collected from DarulIftaBirmingham.co.uk, which is run under the supervision of Mufti Mohammed Tosir Miah from the United Kingdom.