Glossary

  • aṣnāf: categories of people eligible to receive zakāh

  • āyāh: a verse of the Qur’an

  • murābaḥah: a sale contract where the seller discloses the cost and profit

  • ribā: charging interest or fees on loans

  • Shari’ah: Islamic law

  • sūrah: a chapter of the Qur’an

  • tafsīr: explanation or interpretation of the Qur’an

  • ʿUlamāʾ al-Madhāhib: Scholars of the Islamic schools of law

  • zakāh/zakat: The obligatory annual charity that eligible Muslims pay on their wealth

1 Introduction

As the third pillar of the Islamic faith, zakāh is a divinely mandated system of wealth redistribution having implications for socioeconomic justice and equity (Hudaefi 2025). Rooted in the Qur’ānic commands, particularly Sūrah (chapter) at-Tawbah (9:60) that governs the eight aṣnāf (groups of zakat recipients), zakāh surpasses ritualistic obligation to become the key to the economic systems (Ashfahany et al. 2023). While zakāh has been widely studied in relation to socioeconomic justice, Islamic finance, and contemporary economic policy, this study examines it as a subject of computational textual exploration, focusing on its occurrences, contexts, and lexical associations in the Qur’ān.

Al-Qur’ān establishes zakāh as a spiritual obligation that has socioeconomic implications, emphasizing its role in purifying wealth and fostering communal welfare (Nasution et al. 2024). Modern economies demand an expanded interpretation of zakāh to personal income, corporate profits, and digital assets, raising questions about reliability to the Qur’ānic principles versus adaptability to contemporary contexts. Al-Qur’ān should serve as the primary reference for revisiting zakāh’s principles, and hence, this work aims to explore Qur’ānic references to zakāh through computational text mining. Existing literature on zakāh predominantly emphasizes its implications for wealth distribution, Islamic financial systems, and modern economic frameworks. Departing from these traditional paradigms, this work aims to explore Qur’ānic references to zakāh through computational text mining by addressing three core objectives: first, to identify the sūrah (Qur’ānic chapters) and āyāh (Qur’ānic verses) explicitly mentioning zakāh to map its textual occurrences; second, to investigate the frequency of zakāh within specific sūrah and explore its contextual implications for contemporary socioeconomic challenges; finally, to analyze the lexical associations of zakāh across Qur’ānic verses to bridge traditional thematic research with modern computational analysis.

Text mining applies natural language processing (NLP) (Pamungkas and Chiril 2025), which, in this study, is applied to Qur’ānic text to map co-occurring terms in relation to zakāh so as to uncover semantic networks. Text mining is a subset of big data analytics that has emerged as a transformative approach to analyzing unstructured textual data, enabling pattern recognition, thematic clustering, and semantic mapping (Hassani et al. 2020). In Islamic finance, text mining has been applied to evaluate murābaḥah (cost plus profit) contracts (Tlemsani et al. 2020), investigate zakāh administration in times of the pandemic (Hudaefi et al. 2022), and explore banking interest fundamentals and currency-related terms from Islamic classical texts (Hudaefi, Çelik et al. 2026; Hudaefi, Zakiy, et al. 2026), among others. However, its application to Qur’ānic exegesis remains underexplored.

This study introduces Shari’ah analytics, which is the use of big data analytics techniques (e.g., text mining) to analyze al-Qur’ān datasets, and which, in this study, is used to explore zakāh’s fundamental concepts from the primary source of Islamic law. Doing so is to address the following research questions (RQ):

  • RQ1: Which Qur’ānic chapters and verses explicitly reference zakāh, and which sūrah contains the highest frequency of mentions?

  • RQ2: What semantic relationships exist between zakāh and other terms in these verses found in RQ1, and how do these associations inform contemporary socioeconomic challenges?

2 Proposed Shari’ah analytics methods

Building on the framework of Islamicate digital humanities (IDH) (Lange et al. 2021), this study introduces Shari’ah analytics, defined as the application of machine learning tools and big data analytics techniques to systematically analyze primary Islamic sources, specifically al-Qur’ān, for thematic and contextual insights into zakāh. The tools used for the Shari’ah analytics methods are Python-based tools (i.e., Orange Data Mining) developed by Demšar et al. (Demšar et al. 2013), and Python scripts via Google Colab.

The first step involves building a structured corpus of al-Qur’ān using digitized text from the Tanzil Project (Zarrabi-Zadeh et al. 2025), which provides verse-level segmentation and standardized Arabic orthography. Similar studies (e.g., Hudaefi, Çelik, et al. 2026) used this al-Qur’ān dataset to examine ribā (usually translated as “banking interest”). Their findings identified the Qur’ānic verses that discuss ribā, and how these verses were cited by ʿUlamāʾ al-Madhāhib (scholars of the Islamic legal schools) in their ribā explanation.

As in Hudaefi, Zakiy, et al. (Hudaefi, Zakiy, et al. 2026), this Qur’ānic dataset is transformed into a corpus. In this study, we preprocessed it in Python using Orange Data Mining and used the latter’s tokenization feature to split verses into words and phrases; remove diacritics and normalize characters for computational consistency; and tag verses containing the Arabic zakāh (زكاة and الزكاة) via regular expressions (Regexp) to identify explicit mentions. This process ensures a clean, searchable dataset for both quantitative and qualitative analyses. Table 1 explains our Shari’ah analytics method.

Table 1: Shari’ah Analytics Methods. Source: Author’s own.

Steps Data Tools Text Mining Approach Statistical Analysis Results
Creating Qur’anic corpus Al-Qur’ān txt. data from Tanzil Project (Zarrabi-Zadeh et al. 2025) Python-based tool (i.e., text-mining feature of Orange Data Mining) (Demšar et al. 2013) Semi-supervised text mining:
  • Tokenization using Ragexp

  • Tokenization using sentence

  • Topic modelling using Latent Dirichlet Allocation

Descriptive statistics
  • Al-Qur’ān total token

  • Tabular data

  • Word cloud visualization

  • Topic modelling visualization from sentence-based tokenization

  • Textual data (āyāh related to zakāh)

  • Numerical data (zakāh frequency)

  • Categorical data (names of sūrah and āyāh)

Zakāh frequency data Python via Google Colaboratory (Google Colab) Data visualization:
  • Python via Google Colab

  • Python coding for data visualization Sankey graph and some applicable charts

Descriptive statistics
  • Visualization of data sources flow

  • Visualization of networks

2.1 Quantitative analysis of zakat mentions for addressing RQ1

To address RQ1, the text-mining approach employed included frequency counting. This uses a Python script that quantifies occurrences of zakāh terms (both زكاة and الزكاة) across all 114 sūrah. This is followed by sūrah-level aggregation in which the results are tabulated to identify the sūrah with the highest frequency of zakāh mentions. In this step, a word cloud was used for visualization to highlight dominant terms, while bar and pie charts illustrate sūrah-wise distributions. This step establishes a foundational dataset for understanding zakāh’s textual prominence in al-Qur’ān.

2.2 Semantic network for answering RQ2

This study applies Latent Dirichlet Allocation (LDA) for topic modelling and co-occurrence analysis to explore RQ2. In particular, LDA in this study aims to extract important themes linked to zakāh, and map the relationships between zakāh and associated terms identified in the sūrah and āyāh that mention zakāh. The analysis further contextualizes these associations within contemporary socioeconomic challenges, for example, income inequality, poverty alleviation, among others.

3 Results and discussion

Our Shari’ah analytics revealed Qur’ānic emphasis on zakāh as both a spiritual and socioeconomic institution, with high-frequency sūrah often addressing themes of community inclusion, brotherhood, and socioeconomic equity (e.g., Sūrah al-Baqarah’s implications on foundational pillars of faith, and Sūrah al-Tawbah’s implications on mandatory social contract). The low median and mode further suggest that zakāh is not uniformly emphasized across al-Qur’ān but is instead contextually prioritized in sūrah governing systemic equity. This distribution urges further questions related to the theological and practical implications of the contextual importance of zakāh, particularly for modern institutional frameworks aiming to reconcile classical principles with contemporary challenges (e.g., poverty alleviation and financial inclusion). Figure 1 is the word cloud of zakāh in the related Qur’ānic verses containing the word zakāh, while Table 2 details the results of Qur’ānic verses related to zakāh.

Figure 1: Word cloud of zakāh in Qur’ānic verses. Key terms: الصلاة (aṣ-ṣalāh) in purple, the largest word in the cloud, means “the prayer.” الزكاة (az-zakāh) in sage green, the second-largest word, means “the zakat” (obligatory almsgiving). Also a definite noun form, paired visually with aṣ-ṣalāh, since the two are so often mentioned together in the Qur’ān. الله (Allāh) in gold means “God,” the proper name for God, appearing frequently, since these verses ground the commands to pray and give charity in obedience to Him. يقيمون / اقاموا (yuqīmūna/aqāmū) in sage green, appearing in more than one spot, means “they establish” vs. “they established.” Both come from the same root (ق-و-م, “to stand/establish”), used specifically for performing prayer, but differ in tense: yuqīmūna is imperfect (ongoing/habitual); aqāmū is perfect (a completed past action). يؤتون/ آتوا (yu’tūna/ātaw), appearing similarly in more than one spot, mean “they give” vs. “they gave.” Same root (أ-ت-ي, “to give/bring”) used for paying zakat, again varying between the imperfect and perfect verb forms across different verses. Source: Author’s analysis via Orange Data Mining.

Table 2: Zakāh words in al-Qur’ān. Source: Author’s analysis. Tokenization using sentence method for capturing the full āyāh.

Sūrah Āyāh Qur’ānic Verse Texts
Al-Baqarah (2) 43 وأقيموا الصلاة وآتوا الزكاة واركعوا مع الراكعين
(Establish prayer, pay alms-tax, and bow down with those who bow down.)
83 وإذ أخذنا ميثاق بني إسرائيل لا تعبدون إلا الله وبالوالدين إحسانا وذي القربى واليتامى والمساكين وقولوا للناس حسنا وأقيموا الصلاة وآتوا الزكاة ثم توليتم إلا قليلا منكم وأنتم معرضون
(And remember when We took a covenant from the children of Israel stating, “Worship none but Allah; be kind to parents, relatives, orphans and the needy; speak kindly to people; establish prayer; and pay alms-tax.” But you Israelites turned away—except for a few of you—and were indifferent.)
110 وأقيموا الصلاة وآتوا الزكاة وما تقدموا لأنفسكم من خير تجدوه عند الله إن الله بما تعملون بصير
(Establish prayer, and pay alms-tax. Whatever good you send forth for yourselves, you will certainly find its reward with Allah. Surely Allah is All-Seeing of what you do.)
177 ليس البر أن تولوا وجوهكم قبل المشرق والمغرب ولكن البر من آمن بالله واليوم الآخر والملائكة والكتاب والنبيين وآتى المال على حبه ذوي القربى واليتامى والمساكين وابن السبيل والسائلين وفي الرقاب وأقام الصلاة وآتى الزكاة والموفون بعهدهم إذا عاهدوا والصابرين في البأساء والضراء وحين البأس أولئك الذين صدقوا وأولئك هم المتقون
(Righteousness is not in turning your faces towards the east or the west. Rather, the righteous are those who believe in Allah, the Last Day, the angels, the Books, and the prophets; who give charity out of their cherished wealth to relatives, orphans, the poor, needy travellers, beggars, and for freeing captives; who establish prayer, pay alms-tax, and keep the pledges they make; and who are patient in times of suffering, adversity, and in the heat of battle. It is they who are true in faith, and it is they who are mindful of Allah.)
277 إن الذين آمنوا وعملوا الصالحات وأقاموا الصلاة وآتوا الزكاة لهم أجرهم عند ربهم ولا خوف عليهم ولا هم يحزنون
(Indeed, those who believe, do good, establish prayer, and pay alms-tax will receive their reward from their Lord, and there will be no fear for them, nor will they grieve.)
Al-Nisāʾ (4) 77 ألم تر إلى الذين قيل لهم كفوا أيديكم وأقيموا الصلاة وآتوا الزكاة فلما كتب عليهم القتال إذا فريق منهم يخشون الناس كخشية الله أو أشد خشية وقالوا ربنا لم كتبت علينا القتال لولا أخرتنا إلى أجل قريب قل متاع الدنيا قليل والآخرة خير لمن اتقى ولا تظلمون فتيلا
(Have you O Prophet not seen those who had been told, “Do not fight! Rather, establish prayer and pay alms-tax”? Then once the order came to fight, a group of them feared those hostile people as Allah should be feared—or even more. They said, “Our Lord! Why have You ordered us to fight? If only You had delayed the order for us for a little while!” Say, O Prophet, “The enjoyment of this world is so little, whereas the Hereafter is far better for those mindful of Allah. And none of you will be wronged even by the width of the thread of a date stone.”)
162 لكن الراسخون في العلم منهم والمؤمنون يؤمنون بما أنزل إليك وما أنزل من قبلك والمقيمين الصلاة والمؤتون الزكاة والمؤمنون بالله واليوم الآخر أولئك سنؤتيهم أجرا عظيما
(But those with solid knowledge among them and those with true faith believe in what has been revealed to you O Prophet and what was revealed before you—especially those who establish prayer—and those who pay alms-tax and believe in Allah and the Last Day, to these people We will grant a great reward.)
Al-Mā’idah (5) 12 ولقد أخذ الله ميثاق بني إسرائيل وبعثنا منهم اثني عشر نقيبا وقال الله إني معكم لئن أقمتم الصلاة وآتيتم الزكاة وآمنتم برسلي وعزرتموهم وأقرضتم الله قرضا حسنا لأكفرن عنكم سيئاتكم ولأدخلنكم جنات تجري من تحتها الأنهار فمن كفر بعد ذلك منكم فقد ضل سواء السبيل
(Allah made a covenant with the Children of Israel and appointed twelve leaders from among them and then said, “I am truly with you. If you establish prayer, pay alms-tax, believe in My messengers, support them, and lend to Allah a good loan, I will certainly forgive your sins and admit you into Gardens under which rivers flow. And whoever among you disbelieves afterwards has truly strayed from the Right Way.”)
55 إنما وليكم الله ورسوله والذين آمنوا الذين يقيمون الصلاة ويؤتون الزكاة وهم راكعون
(Your only guardians are Allah, His Messenger, and fellow believers—who establish prayer and pay alms-tax with humility.)
Al-A‘rāf (7) 156 واكتب لنا في هذه الدنيا حسنة وفي الآخرة إنا هدنا إليك قال عذابي أصيب به من أشاء ورحمتي وسعت كل شيء فسأكتبها للذين يتقون ويؤتون الزكاة والذين هم بآياتنا يؤمنون
(“Ordain for us what is good in this life and the next. Indeed, we have turned to You in repentance.” Allah replied, “I will inflict My torment on whoever I will. But My mercy encompasses everything. I will ordain mercy for those who shun evil, pay alms-tax, and believe in Our revelations.”)
Al-Tawbah (9) 5 فإذا انسلخ الأشهر الحرم فاقتلوا المشركين حيث وجدتموهم وخذوهم واحصروهم واقعدوا لهم كل مرصد فإن تابوا وأقاموا الصلاة وآتوا الزكاة فخلوا سبيلهم إن الله غفور رحيم
(But once the Sacred Months have passed, kill the polytheists who violated their treaties wherever you find them, capture them, besiege them, and lie in wait for them on every way. But if they repent, perform prayers, and pay alms-tax, then set them free. Indeed, Allah is All-Forgiving, Most Merciful.)
11 فإن تابوا وأقاموا الصلاة وآتوا الزكاة فإخوانكم في الدين ونفصل الآيات لقوم يعلمون
(But if they repent, perform prayer, and pay alms-tax, then they are your brothers in faith. This is how We make the revelations clear for people of knowledge.)
18 إنما يعمر مساجد الله من آمن بالله واليوم الآخر وأقام الصلاة وآتى الزكاة ولم يخش إلا الله فعسى أولئك أن يكونوا من المهتدين
(The mosques of Allah should only be maintained by those who believe in Allah and the Last Day, establish prayer, pay alms-tax, and fear none but Allah. It is right to hope that they will be among the truly guided.)
71 والمؤمنون والمؤمنات بعضهم أولياء بعض يأمرون بالمعروف وينهون عن المنكر ويقيمون الصلاة ويؤتون الزكاة ويطيعون الله ورسوله أولئك سيرحمهم الله إن الله عزيز حكيم
(The believers, both men and women, are guardians of one another. They encourage good and forbid evil, establish prayer and pay alms-tax, and obey Allah and His Messenger. It is they who will be shown Allah’s mercy. Surely Allah is Almighty, All-Wise.)
Al-Kahf (18) 81 فأردنا أن يبدلهما ربهما خيرا منه زكاة وأقرب رحما
(So we hoped that their Lord would give them another, more virtuous and caring in his place.)
Maryam (19) 13 وحنانا من لدنا وزكاة وكان تقيا
(as well as purity and compassion from Us. And he was God-fearing)
31 وجعلني مباركا أين ما كنت وأوصاني بالصلاة والزكاة ما دمت حيا
(He has made me a blessing wherever I go, and bid me to establish prayer and give alms-tax as long as I live)
55 وكان يأمر أهله بالصلاة والزكاة وكان عند ربه مرضيا
(He used to urge his people to pray and give alms-tax. And his Lord was well pleased with him.)
Al-Anbiyā’ (21) 73 وجعلناهم أئمة يهدون بأمرنا وأوحينا إليهم فعل الخيرات وإقام الصلاة وإيتاء الزكاة وكانوا لنا عابدين
(We also made them leaders, guiding by Our command, and inspired them to do good deeds, establish prayer, and pay alms-tax. And they were devoted to Our worship.)
Al-Ḥajj (22) 41 الذين إن مكناهم في الأرض أقاموا الصلاة وآتوا الزكاة وأمروا بالمعروف ونهوا عن المنكر ولله عاقبة الأمور
(They are those who, if established in the land by Us, would perform prayer, pay alms-tax, encourage what is good, and forbid what is evil. And with Allah rests the outcome of all affairs.)
78 وجاهدوا في الله حق جهاده هو اجتباكم وما جعل عليكم في الدين من حرج ملة أبيكم إبراهيم هو سماكم المسلمين من قبل وفي هذا ليكون الرسول شهيدا عليكم وتكونوا شهداء على الناس فأقيموا الصلاة وآتوا الزكاة واعتصموا بالله هو مولاكم فنعم المولى ونعم النصير
(Strive for the cause of Allah in the way He deserves, for it is He Who has chosen you, and laid upon you no hardship in the religion—the way of your forefather Abraham. It is Allah Who named you “the ones who submit” in the earlier Scriptures and in this Quran, so that the Messenger may be a witness over you, and that you may be witnesses over humanity. So establish prayer, pay alms-tax, and hold fast to Allah. He alone is your Guardian. What an excellent Guardian, and what an excellent Helper!)
Al-Mu’minūn (23) 4 والذين هم للزكاة فاعلون
(those who pay alms-tax)
Al-Nūr (24) 37 رجال لا تلهيهم تجارة ولا بيع عن ذكر الله وإقام الصلاة وإيتاء الزكاة يخافون يوما تتقلب فيه القلوب والأبصار
(by men who are not distracted—either by buying or selling—from Allah’s remembrance, or performing prayer, or paying alms-tax. They fear a Day when hearts and eyes will tremble)
56 وأقيموا الصلاة وآتوا الزكاة وأطيعوا الرسول لعلكم ترحمون
(Moreover, establish prayer, pay alms-tax, and obey the Messenger, so you may be shown mercy.)
Al-Naml (27) 3 الذين يقيمون الصلاة ويؤتون الزكاة وهم بالآخرة هم يوقنون
(those who establish prayer, pay alms-tax, and have sure faith in the Hereafter.)
Al-Rūm (30) 39 وما آتيتم من ربا ليربو في أموال الناس فلا يربو عند الله وما آتيتم من زكاة تريدون وجه الله فأولئك هم المضعفون
(Whatever loans you give, only seeking interest at the expense of people’s wealth will not increase with Allah. But whatever charity you give, only seeking the pleasure of Allah—it is they whose reward will be multiplied.)
Luqmān (31) 4 الذين يقيمون الصلاة ويؤتون الزكاة وهم بالآخرة هم يوقنون
(those who establish prayer, pay alms-tax, and have sure faith in the Hereafter.)
Al-Ahzāb (33) 33 وقرن في بيوتكن ولا تبرجن تبرج الجاهلية الأولى وأقمن الصلاة وآتين الزكاة وأطعن الله ورسوله إنما يريد الله ليذهب عنكم الرجس أهل البيت ويطهركم تطهير
(Settle in your homes, and do not display yourselves as women did in the days of pre-Islamic ignorance. Establish prayer, pay alms-tax, and obey Allah and His Messenger. Allah only intends to keep the causes of evil away from you and purify you completely, O members of the Prophet’s family!)
Fuṣṣilat (41) 7 الذين لا يؤتون الزكاة وهم بالآخرة هم كافرون
(those who do not pay alms-tax and are in denial of the Hereafter.)
Al-Mujādilah (58) 13 أأشفقتم أن تقدموا بين يدي نجواكم صدقات فإذ لم تفعلوا وتاب الله عليكم فأقيموا الصلاة وآتوا الزكاة وأطيعوا الله ورسوله والله خبير بما تعملون
(Are you afraid of spending in charity before your private consultations with him? Since you are unable to do so, and Allah has turned to you in mercy, then continue to establish prayer, pay alms-tax, and obey Allah and His Messenger. And Allah is All-Aware of what you do.)
Al-Muzzammil (73) 20 إن ربك يعلم أنك تقوم أدنى من ثلثي الليل ونصفه وثلثه وطائفة من الذين معك والله يقدر الليل والنهار علم أن لن تحصوه فتاب عليكم فاقرءوا ما تيسر من القرآن علم أن سيكون منكم مرضى وآخرون يضربون في الأرض يبتغون من فضل الله وآخرون يقاتلون في سبيل الله فاقرءوا ما تيسر منه وأقيموا الصلاة وآتوا الزكاة وأقرضوا الله قرضا حسنا وما تقدموا لأنفسكم من خير تجدوه عند الله هو خيرا وأعظم أجرا واستغفروا الله إن الله غفور رحيم
(Surely your Lord knows that you O Prophet stand in prayer for nearly two-thirds of the night, or sometimes half of it, or a third, as do some of those with you. Allah alone keeps a precise measure of the day and night. He knows that you believers are unable to endure this, and has turned to you in mercy. So recite in prayer whatever you can from the Quran. He knows that some of you will be sick, some will be travelling throughout the land seeking Allah’s bounty, and some fighting in the cause of Allah. So recite whatever you can from it. And continue to perform regular prayers, pay alms-tax, and lend to Allah a good loan. Whatever good you send forth for yourselves, you will find it with Allah far better and more rewarding. And seek Allah’s forgiveness. Surely Allah is All-Forgiving, Most Merciful.)
Al-Bayyinah (98) 5 وما أمروا إلا ليعبدوا الله مخلصين له الدين حنفاء ويقيموا الصلاة ويؤتوا الزكاة وذلك دين القيمة
(even though they were only commanded to worship Allah alone with sincere devotion to Him in all uprightness, establish prayer, and pay alms-tax. That is the upright Way.)

3.1 Zakat mentions in al-Qur’ān

Shari’ah analytics of the Qur’ānic TXT data reveals that the term zakāh (زكاة and الزكاة) appears 32 times across 19 sūrah, underscoring its thematic significance in Islamic social finance. Among these, Sūrah al-Baqarah (2) exhibits the highest frequency (5 mentions), followed by Sūrah al-Tawbah (9) with 4 mentions. Other sūrah with notable references include Maryam (19) and al-Nisāʾ (4), which mention zakāh 3 and 2 times, respectively. The remaining 15 sūrah reference zakāh once or twice, reflecting a spread yet deliberate integration of the concept across the Qur’ānic corpus.

Unlike traditional full-text searches that merely tally exact string matches, our text-mining approach employs morphological parsing and semantic network analysis. This computational method works beyond manual keyword reading in that it is able to identify hidden co-occurrence patterns between zakāh and its complementary concepts, objectively identifying thematic clusters. Hence, this text-mining approach helps manual reading to uncover the deep structural and relational dynamics of Qur’ānic terminology. Figure 2 visualizes zakat mentions in al-Qur’ān, while Figure 3 and Figure 4 detail the number and percentage of the mentions.

Figure 2: Sankey diagram of zakāh mentions flows. Source: Author’s analysis via Google Colab.

Figure 3: Bar graph of number of mentions of zakāh in al-Qur’ān. Source: Author’s analysis via Google Colab.

Figure 4: Pie chart of percentage of mentions of zakāh in al-Qur’ān. Source: Author’s analysis via Google Colab.

Descriptive statistics further explain patterns in these mentions. The mean frequency of zakāh per sūrah is 1.68 (calculated as 32 total mentions across 19 sūrah), indicating uneven distribution. The median stands at 1 mention, with half of the sūrah containing one or fewer references, while the mode is also 1, as most sūrah (15 of 19) reference zakāh only once. This skewness highlights the concentration of zakāh discourse in specific sūrah, particularly those addressing legal, ethical, and communal obligations (e.g., al-Baqarah and al-Tawbah). This choice to calculate the mean across the 19 relevant sūrah, rather than all 114 sūrah, was made to measure the concentration of the discourse within chapters where zakāh is mentioned. That is, the descriptive analysis is conducted on the 19 sūrah that explicitly mention zakāh, as these constitute the relevant analytical sample for assessing the average thematic weight of zakāh per relevant sūrah. Including the remaining 95 sūrah, in which zakāh is not mentioned, would artificially dilute this average through the inclusion of zero values.

3.2 Word network of zakāh in al-Qur’ān

The word network in Figure 5 shows a full visualization of the semantic relationships between zakāh and its associated terms across relevant verses reported in Table 2. This network maps linguistic and conceptual connections that reveal the multidimensional nature of zakāh as both a ritual practice and a socioeconomic principle.

Figure 5: Full word network of Qur’ānic verses containing zakāh. Central terms: الصلاة (aṣ-ṣalāh) means “the prayer”—one of the two largest, most connected nodes at the centre of the graph. الزكاة (az-zakāh) or zakat (obligatory almsgiving) is the other central hub, directly linked to aṣ-ṣalāh, reflecting how often the Qur’ān pairs “establishing prayer” with “giving zakat.” الله / ورسوله (Allāh/wa rasūluh) means “God/and His Messenger”—the large hub on the right, connected to a wide branch of the network, since obedience to God and the Prophet is the frame these commands are given in. للفقراء والمساكين (lil-fuqarā’ wal-masākīn) means “for the poor and the needy,” who are the recipients of zakat. واليتامى (wal-yatāmā) means “and the orphans,” another named recipient group. صدقات / صدقوا (ṣadaqāt/ṣadaqū) means “voluntary charities”/”they gave in charity (truthfully),” related to but distinct from obligatory zakat. والمؤمنون / والمؤمنات (wal-mu’minūn/wal-mu’mināt) means “the believing men”/“the believing women,” masculine and feminine plural forms of the same term. Source: Author’s analysis via Orange Data Mining.

Highlighted in Figure 6, at the centre of the network lie the terms coloured yellow (i.e., الله [The Almighty Allah], ورسوله [His Messenger], الزكاة [zakāh], and الصلاة [prayers]), signifying the centrality of these words in the Qur’ānic verses mentioning zakāh. Surrounding nodes cluster around words (e.g., المومنون ,آمنوا [have faith, believers], تطهير [purification], and صدقات ,صدقوا [charity]) reflective of zakāh’s dual role as a spiritual act fostering personal piety and a communal obligation for ensuring social equity.

Figure 6: Highlighted word network of Qur’ānic verses containing zakāh for contexts. Central terms: الصلاة (aṣ-ṣalāh) means “the prayer”—one of the two largest, most connected nodes at the centre of the graph. الزكاة (az-zakāh) or zakat (obligatory almsgiving), is the other central hub, directly linked to aṣ-ṣalāh, reflecting how often the Qur’ān pairs “establishing prayer” with “giving zakat.” الله / ورسوله (Allāh/wa rasūluh) means “God/and His Messenger”—the large hub on the right, connected to a wide branch of the network, since obedience to God and the Prophet is the frame these commands are given in. للفقراء والمساكين (lil-fuqarā’ wal-masākīn) means “for the poor and the needy,” who are the recipients of zakat. واليتامى (wal-yatāmā) means “and the orphans,” another named recipient group. صدقات / صدقوا (ṣadaqāt/ṣadaqū) means “voluntary charities”/“they gave in charity (truthfully),” related to but distinct from obligatory zakat. والمؤمنون / والمؤمنات (wal-mu’minūn/wal-mu’mināt) means “the believing men”/“the believing women,” masculine and feminine plural forms of the same term. Source: Author’s analysis via Orange Data Mining.

Furthermore, outlying nodes expand the network’s scope, linking zakāh to economic practices (بيع ,تجارة [commercial trade and sales]), moral virtues (البر [righteousness]), and eschatological rewards (جنات [paradise]). Such connections underscore zakāh’s role in shaping holistic Islamic values, bridging material and spiritual aspects. Analytically, this visualization aids in identifying latent thematic patterns. For instance, associations among nodes (e.g., حسنا [kindness], المساكين [poor people], اليتامى [orphans], for للناس [people in general]) highlight zakāh’s distributive justice function. Conversely, links to تابوا (repentance) or استغفروا (seeking forgiveness) frame it as a means of spiritual renewal. This semantic network surrounding the term zakāh indicates that it is not merely a financial obligation but a manifestation of faith and devotion. This aligns with classical tafsīr traditions that interpret zakāh as a sign of sincere belief and submission to divine command. Al-Ṭabarī explains that the frequent pairing of prayer and zakāh in al-Qur’ān reflects the inseparable relationship between worship of God and responsibility towards society (Qadafy 2021). Similarly, Ibn Kathīr emphasizes that zakāh functions as evidence of faith by translating spiritual commitment into tangible social action (Bichk Koyak et al. 2025). In addition, contemporary scholars (e.g., Yūsuf al-Qaraḍāwī) characterize zakāh as a comprehensive socioeconomic institution designed to alleviate poverty, promote economic justice, and strengthen social cohesion (Aziz et al. 2024).

4 Conclusion

This study introduced Shari’ah analytics, a novel interdisciplinary approach using computational text mining for Sharīʿah studies. Al-Qur’ān dataset was used to investigate the conceptual and contextual dimensions of zakāh. This study identified 32 explicit mentions of zakāh across 19 sūrah, explaining its dual role as both a spiritual obligation and a socioeconomic mechanism for equitable resource distribution. Quantitative analysis highlighted Sūrah al-Baqarah (5 mentions) and Sūrah al-Tawbah (4 mentions) as the most frequent references, underscoring their significance in framing zakāh within legal, ethical, and communal frameworks. Networks of words further illustrated zakāh’s substantial connections with terms (e.g., ṣalāh [prayer]), reinforcing its function as a cornerstone of Islamic faith. These findings align with classical interpretations while offering fresh insights into zakāh’s adaptability to modern challenges, such as poverty alleviation, financial inclusion, and institutional transparency. The novel approach to Shari’ah analytics in this study lies in the use of natural language processing (NLP) tools (e.g., tokenization, co-occurrence networks) to bridge traditional Islamic scholarship with data-driven analysis. This research avoids doctrinal ambiguities arising from secondary juristic texts, providing a key foundation for contemporary debates on zakāh’s application in Islamic finance and social policy. The uneven distribution of zakāh mentions across sūrah suggests that its emphasis is contextually driven, often tied to verses addressing systemic equity, wealth redistribution, and communal responsibility. This aligns with historical applications of zakāh as a tool for socioeconomic stability and reaffirms its relevance in addressing modern issues (e.g., income inequality and crisis response).

Funding statement

This research received funding from the Deanship of Scientific Research, Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia [KFU262604].

Data availability statement

Competing interests

The authors have no competing interests to declare.

Contributions

Authorial

Authorship in the byline is by magnitude of contribution. Author contributions, described using the NISO (National Information Standards Organization) CrediT taxonomy, are as follows:

Author names and initials:

  • Fahmi Ali Hudaefi (FAH)

  • Muhamad Subhi Apriantoro (MSA)

  • Lukmanul Hakim (LH)

  • Fauzul Hanif Noor Athief (FHN)

  • Rezzy Eko Caraka (REC)

  • Abdelkader Laallam (AL)

Authors are listed in descending order by significance of contribution. The corresponding author is FAH.

  • Conceptualization: FAH, FHN

  • Data Curation: FAH

  • Formal Analysis: FAH, REC

  • Funding Acquisition: AL

  • Investigation: FAH, FHN, AL

  • Methodology: FAH, REC

  • Project Administration: LH

  • Software: MSA, FAH, REC

  • Supervision: REC

  • Validation: REC, AL, LH

  • Visualization: FAH

  • Writing – Original Draft: FAH, MSA, AL

  • Writing – Review & Editing: MSA, LH

Editorial

Section Editors

  • A K M Iftekhar Khalid, University of Lethbridge, Canada

  • Davide Pafumi, University of Lethbridge, Canada

Translation Editor

  • Davide Pafumi, University of Lethbridge, Canada

Copy and Layout Editor

  • Christa Avram, University of Lethbridge, Canada

References

Ashfahany, Afief El, Awalul Dini Nur Hidayah, Lukmanul Hakim, and Mohd Shahid Bin Mohd Noh. 2023. “How Zakat Affects Economic Growth in Three Islamic Countries.” Journal of Islamic Economic Laws 6 (1): 45–61.  http://doi.org/10.23917/jisel.v6i1.21242.

Aziz, Jamal Abdul, Muhammad Sirajuddin Qahtan Hamdan, Ahmad Dahlan, and Naerul Edwin Kiky Aprianto. 2024. “Yusuf Al-Qaraḍāwī’s Theory of Zakat and Taxes and Its Relevance to Zakat and Taxation Law in Indonesia.” Journal of Ecohumanism 3 (4): 1169–82.  http://doi.org/10.62754/joe.v3i4.3650.

Bichk Koyak, Syed Mohamad Zainudin, Muhammad Akmaluddin Mohd Hamdan, and Ahmad Salahuddin M Azizan. 2025. “Understanding the Right of Allah: A Quranic and Sunnah-Based Perspective.” Al-Qanatir: International Journal of Islamic Studies 34 (06): 165–75. https://www.al-qanatir.com/aq/article/view/1281.

Demšar, Janez, Tomaž Curk, Aleš Erjavec, Črt Gorup, Tomaž Hočevar, Mitar Milutinovič, et al. 2013. “Orange: Data Mining Toolbox in Python.” Journal of Machine Learning Research 14: 2349–53. https://www.jmlr.org/papers/v14/demsar13a.html.

Hassani, Hossein, Christina Beneki, Stephan Unger, Maedeh Taj Mazinani, and Mohammad Reza Yeganegi. 2020. “Text Mining in Big Data Analytics.” Big Data and Cognitive Computing 4 (1): 1–34.  http://doi.org/10.3390/bdcc4010001.

Hudaefi, Fahmi Ali. 2025. “Socioeconomic Issues in Zakat Microfinance Innovation: Evidence from Cyberspace.” Journal of Muslim Philanthropy & Civil Society 9 (2): 27–37. https://scholarworks.iu.edu/iupjournals/index.php/muslimphilanthropy/article/view/7042.

Hudaefi, Fahmi Ali, Rezzy Eko Caraka, and Hairunnizam Wahid. 2022. “Zakat Administration in Times of COVID-19 Pandemic in Indonesia: A Knowledge Discovery via Text Mining.” International Journal of Islamic and Middle Eastern Finance and Management 15 (2): 271–86.  http://doi.org/10.1108/IMEFM-05-2020-0250.

Hudaefi, Fahmi Ali, Yusuf Çelik, M. Kabir Hassan, Fauzul Hanif Noor Athief, Muhamad Subhi Apriantoro, Afief El Ashfahany, et al. 2026. “Shari’ah Analytics of Riba.” Journal of Islamic Accounting and Business Research, February 17.  http://doi.org/10.1108/JIABR-04-2025-0244.

Hudaefi, Fahmi Ali, Muhammad Zakiy, Abdelkader Laallam, Fauzul Hanif Noor Athief, and Muhamad Subhi Apriantoro. 2026. “Shari’ah Analytics of Arabic Currency Terms and Implications for Cryptocurrency.” Journal of Islamic Monetary Economics and Finance 12 (1): 107–32.  http://doi.org/10.21098/jimf.v12i1.3328.

Lange, Christian, Maksim Abdul Latif, Yusuf Çelik, A. Melle Lyklema, Dafne E. van Kuppevelt, and Janneke van der Zwaan. 2021. “Text Mining Islamic Law.” Islamic Law and Society 28 (3): 234–81.  http://doi.org/10.1163/15685195-bja10009.

Nasution, Juliana, Muhammad Idris Nasution, and Abdullah Alfikri Murtadla. 2024. “Modernizing Zakat in Indonesia, from Masdar Farid Mas’udi, Safwan Idris, and Didin Hafidhuddin.” Suhuf 36 (1): 55–65.  http://doi.org/10.23917/suhuf.v36i1.4412.

Pamungkas, Endang Wahyu, and Patricia Chiril. 2025. “Ngalawan Ujaran Sengit: Hate Speech Detection in Indonesian Code-Mixed Social Media Data.” Language Resources and Evaluation, 59 (February), 2387–2414.  http://doi.org/10.1007/s10579-025-09810-x.

Qadafy, Mu’ammar Zayn. 2021. “Don’t Judge a Book by Its Cover: Chronologically Reading Ibn ‘Atiyyah’s Interpretation of the Zakāh Passages.” Australian Journal of Islamic Studies 6 (4): 88–110.  http://doi.org/10.55831/ajis.v6i4.395.

Tlemsani, Issam, Farhi Marir, and Munir Majdalawieh. 2020. “Screening of Murabaha Business Process through Quran and Hadith: A Text Mining Analysis.” Journal of Islamic Accounting and Business Research 11 (10): 1889–1905.  http://doi.org/10.1108/JIABR-05-2020-0159.