Fatwa: # 43489
Category: Business Matters
Date: 23rd October 2019


Working as a Front-end software developer


Assalamu Alaykum,

I currently work for a large (non-muslim) company that sells insurance, life cover, retirement savings, investments and other services. This company has an online portal where their clients can log in to view details of the products which they have. The portal shows them information such as what their benefits are, how much monetary cover they have and provides them with documents related to their plan such as statements and brochures. It also allows them to modify their personal details such as names, contact numbers, addresses etc.

My job as a front-end software developer involves working on the appearance of this portal including building the page layout, form fields for inserting data, menus, buttons, color scheme, formatting, spacing, fonts, background images among other things. My responsibility is exclusively to develop the "front-end" of the portal which refers to its look & feel and design. The "back-end" logic which includes how the benefit values are calculated and the data about clients' plans is done separately by different people.

Is it permissible for me to work in this role?


In the Name of Allah, the Most Gracious, the Most Merciful.

As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.

Your concern for the permissibility of the job in reference is an expression of your Iman and Allah consciousness. May Almighty Allah grant you halal and wholesome income. Aameen.

In principle, if one is not directly involved in the insurance transactions carried out by the insurance company, then such a job would be permissible.[1]

In the enquired situation, your role in the company is to manage the appearance of the online portal. This is permissible.

However, as Muslims we are averse to conventional insurance as it involves interest, gambling and uncertainty, all of which are clearly prohibited in Shariah. It would be advisable to abstain from working in such an environment.[2]

And Allah Ta’āla Knows Best

Bilal Yusuf Pandor

Student Darul Iftaa

Lusaka, Zambia

Checked and Approved by,
Mufti Ebrahim Desai.


[1] Contemporary Fatawaa, Vol 162, Idara-e-Islamiat


امداد الاحکام: 4/386-390، کفار جو مال حرام طریقہ سے حاصل کریں اس کا حکم


احكام القران للعلامة ظفر احمد التهانوي ج-1 ص-11

الكفار مخاطبون بالايمان اجماعا وكذا بالمشروع من العقوبات والمعاملات وكذا بالفروع وعامة الشرائع في حكم المواخذة في الاخرة بلا خلاف ذكره في المنار وغيره وأما في وجوب الاداء في أحكام الدنيا فالصحيح أنهم غير مخاطبين به:وما نسب إلى أهل العراق من مشايخنا وإلى اكثر من اصحاب الشافعي من كونهم مخاطبين بوجوب الاداء في الدنيا فهو مئوول بأنهم مأمورون بأن يومنوا ثم يصلوا كما في عامة كتب الاصول وذهب البخاريون إلى أنهم مكلفون بالفروع في حق الاعتقاد فقط والصحيح المؤيد بالنصوص والايات هو ما ذهب اليه الجمور أنهم مخاطبون باعتقاد الشرائع وكذا بأدائها باستجماع شرائطها منها تقديم الايمان 


الدر المختار وحاشية ابن عابدين (رد المحتار) (4/ 128)

مطلب في أن الكفار مخاطبون ندبا (قوله إذ الكفار لا يخاطبون بها عندنا) الذي تحرر في المنار وشرحه لصاحب البحر أنهم مخاطبون بالإيمان، وبالعقوبات سوى حد الشرب، والمعاملات وأما العبادات فقال السمرقنديون ن: إنهم غير مخاطبين بها أداء واعتقادا قال البخاريون: إنهم غير مخاطبين بها أداء فقط وقال العراقيون إنهم مخاطبون بهما فيعاقبون عليهما وهو المعتمد


[2]  سورة مائدة (90)
يَا أَيُّهَا الَّذِينَ آمَنُوا إِنَّمَا الْخَمْرُ وَالْمَيْسِرُ وَالْأَنْصَابُ وَالْأَزْلَامُ رِجْسٌ مِنْ عَمَلِ الشَّيْطَانِ فَاجْتَنِبُوهُ لَعَلَّكُمْ تُفْلِحُونَ


مسند أحمد ط الرسالة (11/ 105)

عَنْ عَبْدِ اللهِ بْنِ عَمْرٍو، قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: " إِنَّ اللهَ حَرَّمَ عَلَى أُمَّتِي الْخَمْرَ وَالْمَيْسِرَ وَالْمِزْرَ وَالْكُوبَةَ وَالْقِنِّينَ وَزَادَنِي صَلَاةَ الْوَتْرِ "  قَالَ يَزِيدُ: " الْقِنِّينُ: الْبَرَابِطُ "


أحكام القرآن للجصاص ط العلمية (1/ 398)

وَلَا خِلَافَ بَيْنَ أَهْلِ الْعِلْمِ فِي تَحْرِيمِ الْقِمَارِ وَأَنَّ الْمُخَاطَرَةَ مِنْ الْقِمَارِ; قَالَ ابْن عَبَّاسٍ: إنَّ الْمُخَاطَرَةَ قِمَارٌ وَإِنَّ أَهْلَ الْجَاهِلِيَّةِ كَانُوا يُخَاطِرُونَ عَلَى الْمَالِ، وَالزَّوْجَةِ، وَقَدْ كَانَ ذَلِكَ مُبَاحًا إلَى أَنْ وَرَدَ تَحْرِيمُهُ


أحكام القرآن للجصاص ط العلمية (1/ 398)

وَلَا خِلَافَ بَيْنَ أَهْلِ الْعِلْمِ فِي تَحْرِيمِ الْقِمَارِ

DISCLAIMER - AskImam.org questions
AskImam.org answers issues pertaining to Shar'ah. Thereafter, these questions and answers are placed for public view on www.askimam.org for educational purposes. However, many of these answers are unique to a particular scenario and cannot be taken as a basis to establish a ruling in another situation or another environment. Askimam.org bears no responsibility with regards to these questions being used out of their intended context.
  • The Shar's ruling herein given is based specifically on the question posed and should be read in conjunction with the question.
  • AskImam.org bears no responsibility to any party who may or may not act on this answer and is being hereby exempted from loss or damage howsoever caused.
  • This answer may not be used as evidence in any Court of Law without prior written consent of AskImam.org.
  • Any or all links provided in our emails, answers and articles are restricted to the specific material being cited. Such referencing should not be taken as an endorsement of other contents of that website.
The Messenger of Allah said, "When Allah wishes good for someone, He bestows upon him the understanding of Deen."
[Al-Bukhari and Muslim]