What Would Al-Khwarizmi Think of ChatGPT?
AI has Islamic roots most Muslims don't know about. The word "algorithm" itself comes from a Muslim scholar. Here's the inspiring story โ and what it means for us today.
The word "algorithm" โ the very foundation of every AI system โ comes from the name of Muhammad ibn Musa al-Khwarizmi, a 9th-century Muslim mathematician from the House of Wisdom in Baghdad. Before Silicon Valley, before ChatGPT, before machine learning, there was the Islamic Golden Age โ and Muslims were the engineers of progress.
Al-Khwarizmi gave us algebra and the decimal number system. Al-Jazari built programmable automata. Ibn al-Haytham laid the groundwork for optics and the scientific method. These weren't coincidences โ they were the fruits of a civilisation that took seriously the Quranic command: "Read! In the name of your Lord who created." (96:1)
So when we ask whether AI is Islamic, we're asking the wrong question. The better question is: are we, as Muslims, showing up to shape it? Islamic ethics offer the world something it urgently needs โ a framework rooted in accountability before Allah, in justice ('adl), in compassion (rahma), and in the pursuit of benefit for all humanity (maslaha). The Prophet ๏ทบ said: "All of you are shepherds, and each of you is responsible for his flock." That responsibility extends to the technology we build, use, and allow into our lives. AI used for beneficial purposes โ healthcare, education, da'wah, access to knowledge โ is not just permissible. It is praiseworthy. The question is not if we engage with AI. The question is how we do it โ with intention, with ethics, and with the remembrance of Allah at the centre.