Saturday, 9 February 2019

Is Learning Computer Programming Or Coding Haram?

In our world today almost every sector of life needed a computer to boost working performance and for easy accessibility of data and information.

The invention of the computer has added a significant change in every aspect of our life. The internet for example as improve the way valuable information are been sent from one country to another without a glitch.

Almost every household possesses a different variety of computerized gadget and appliances ranging from smartphones, laptops, televisions, decoder, CCTV cameras, printers, e.t.c.

These items were made by computer programmers by implementing the knowledge of computer programming to create these products for end users.

So here brings the question.

Is Learning Computer Programming Or Coding Haram?

From the above uses and benefits of a computer talked about at the beginning has proven how a computer is inevitable for both Muslims and Non-Muslims.

Learning computer programming or coding as a Muslim is not Haram because you are seeking knowledge to make the world a better place and less hard for people.

According to one of the sayings of Prophet Muhammad (peace be upon him);

“Seeking knowledge is an obligation upon every Muslim.” (At-Tirmidhi)

This lesson gives insight into the reasons behind Islam giving great importance to seeking knowledge and its benefits for mankind.

What Makes Computer Programming Haram?

Learning how to code will expose you to a lot of things in the computer field, both the good and sophisticated ones. It now depends on what you choose to do with it.

Creating spying software or apps that infiltrate into people’s privacy to steal their personal data and information is prohibited in Islam.

Allah has forbid Muslims not to spy, as He stated in the glorious Quran;

Believers…. do not spy… (Quran 49:12)

This does not base on spying alone; also building mobile applications or software that produces haram contents such as:
  • Blackhat
  • Gambling
  • Pornography 
  • Interest
  • Misinformation
  • Fake news, are all prohibited in Islam.

What Makes Computer Programming Halal?

Computer programming or coding deals with writing codes for the computer to perform a certain task. Every Muslim should make sure that the tasks should not contradict the Qur’an and Sunnah.

There are various channels you can use the knowledge of programming which will benefit Muslims ummah at large and also earn you a humongous reward.

Below are examples of halal ideas Muslim can do with computer programming skill:

  • Islamic education app for Muslims
  • Qur’an recitation software (e.g. iQuran)
  • Hadith collection app or software  
  • Muslim productive app (e.g. MuslimPro)
  • Zakat calculator software or app
  • Islamic forum
  • Islamic banking app
  • Islamic online shopping site
  • Islamic advertising agency (Halal ads)
  • Islamic online university (e.g.
  • Islamic quiz app
  • Muslim crowdfunding (e.g. LaunchGood)

Post a comment

favourite category

test section describtion

Whatsapp Button works on Mobile Device only