IAES International Journal of Robotics and Automation (IJRA) Vol. No. September 2025, pp. ISSN: 2722-2586. DOI: 10. 11591/ijra. Faraid distribution calculation using AI-based Quranic chatbot Iman Hafizi Md Zin. Nur Farraliza Mansor. Norizan Mat Diah. Shakirah Hashim. Mastura Mansor Faculty of Computer and Mathematical Sciences. Universiti Teknologi MARA. Shah Alam. Selangor. Malaysia Article Info ABSTRACT Article history: Faraid. Islamic inheritance law, refers to that aspect of Shariah law which is not properly understood and has created issues and impediments in the distribution of estates. This paper discusses the development of an AI-based Quranic chatbot to be used by the public to learn the Faraid rules and automate calculations of inheritance distribution. The chatbot has been developed using natural language processing and a rule-based algorithm, which intends to search and get an accurate interpretation from the user queries, retrieve relevant verses of the Quran, and compute the share of inheritance according to the established Islamic jurisprudence. Fuzzy match identifies and corrects variation in queries, enhancing user interaction, ensuring that it appears more intuitive and accessible. The system processes user input regarding heirs of the deceased, estate value, and debts, and applies Faraid rules to generate accurate distribution results that happen to be web-based platforms of this chatbot. It intends to link traditional Islamic knowledge with modern digital solutions, bringing Faraid calculations closer, more comfortable, faster, and transparent. Through rigorous tests and user feedback will prove above, revealing the chatbotAos potential in understanding the application of Islamic inheritance law and promoting digital engagement in all these through Quranic teachings. Received May 20, 2025 Revised Jun 24, 2025 Accepted Jul 10, 2025 Keywords: Faraid Fuzzy Natural language processing Quranic Shariah This is an open access article under the CC BY-SA license. Corresponding Author: Nur Farraliza Mansor Faculty of Computer and Mathematical Sciences. Universiti Teknologi MARA 40450 Shah Alam. Selangor. Malaysia Email: nurfarraliza@uitm. INTRODUCTION Technology has become a crucial component of several industries in the modern day, including production, education, and religious study. The way people connect with information and look for knowledge has been completely transformed by artificial intelligence (AI), which has created new avenues for accessibility and participation . Present-day manual techniques are labor-intensive, prone to human mistakes, and frequently unavailable to the general public. The development of AI, especially in the areas of chatbots and natural language processing, holds great promise for automating and streamlining Faraid delivery, increasing its accuracy and accessibility. Faraid, or Islamic inheritance law, is still a crucial part of Shariah that guarantees equitable asset distribution after death, but it requires complicated calculations that call for specialized knowledge in light of the growing need for easily available, precise, and technologically advanced solutions. Even though Faraid is crucial to maintaining fair distribution of wealth in Islam, the typical person finds it challenging to accurately calculate due to its complex regulations and dependence on specialized knowledge. Manual techniques are laborious, prone to mistakes, and difficult to use, particularly in rural areas. By using an AI-based chatbot to automate and simplify Faraid computations, our study fills this gap and improves their efficiency, accuracy, and accessibility. Journal homepage: http://ijra. ISSN: 2722-2586 Millions of Muslims around the world continue to rely heavily on the Quran as a timeless source of knowledge and moral instruction. However, due to obstacles including language difficulties, restricted access to scholarly resources, and a lack of interactive learning platforms, many people find it difficult to comprehend and apply its teachings. Even though the Quran is a vital source of guidance, many people struggle to apply its teachings because they lack access to interactive learning environments and qualified According to studies, a lot of Muslims find it difficult to find time for studying the Quran because of their employment and household obligations . Additionally, the absence of readily accessible digital resources discourages involvement even more, making it challenging to study the Quran in depth. A decrease in spiritual connection and information retention may result from a lack of involvement with Quranic The ignorance of and disregard for Faraid regulations among Muslims is another important topic covered in this study. Due to selfishness, false information, or delays in the legal process, many Muslims decide to divide their inheritance according to personal preferences rather than Islamic principles, which can lead to an unequal distribution and possible disputes . Ismail et al. claim that one of the main causes of arguments over Faraid distribution is poor communication within the family. As a way to lessen these tensions, they recommend using a digital platform to increase public knowledge and engagement. Mohd Saad and Mohamad Rasli . claim that they have created a web browser-based Faraid distribution system, but their program has search constraints as well, as it can only run on web browsers with a 16:9 device resolution. The web platform is the sole way to access this program. Zulkefli et al. developed a Faraid distribution platform in 2018 that was based on a mobile application. however, as the development was mostly focused on a rule -based idea, it failed to incorporate any AI elements. Hishamudin . suggested an intelligent calculator system based on the thesis Auintelligent Faraid calculator systemsAy, also unclear what precise artificial intelligence techniques were employed. In Auexamining the role of artificial intelligence (GPT-3. , in Issuing Fatwas for Islamic Family Cases: A Comparative Analysis,Ay it was examined how GPT-3. 5 can be used to provide fatwas on topics like inheritance, divorce, and marriage. The study comes to the conclusion that while GPT-3. 5 offers quicker answers than conventional academic approaches, it usually produces inaccurate choices when applied to Islamic family law, which could lead to misleading recommendations. In order to overcome this difficulty, this study presents an I-based Quranic chatbot that uses natural language processing (NLP) to provide a more interesting and customized educational experience . The chatbot has been developed using NLP. Fuzzy logic, and a rule-based algorithm, which intends to search and get an accurate interpretation from the user queries, retrieve relevant verses of the Quran, and compute the share of inheritance according to the established Islamic law. Fuzzy match identifies and corrects variation in queries, enhancing user interaction, ensuring that it appears more intuitive and accessible. In order to handle linguistic differences, misspellings, and informal phrasing in user input, the fuzzy logic component is essential. It increases response accuracy by allowing the system to match unclear or incomplete inquiries with the most appropriate phrases or rules. This improves user engagement by giving the impression that the chatbot is more flexible, intuitive, and approachable-especially for users who are not conversant with accurate legal or religious terms. This chatbot allows users to interact with Quranic teachings, comprehend Islamic laws like Faraid (Islamic law on inheritanc. , and get interpretations of Quranic verses by mimicking human-like dialogue . AI chatbots are getting better at conducting natural conversations and establishing connections with They have the potential to help programs that encourage lifestyle changes. They are, therefore, a useful and affordable tool for behavior modification programs . Chatbots and AI have developed quickly in recent years and are now widely used in a variety of fields, including academics . By bridging the gap between traditional Quranic studies and contemporary technology, this incorporation of AI in religious education makes Islamic teachings more approachable for individuals with varying backgrounds and degrees of understanding. The AI-based Quranic chatbot will address these problems by acting as an interactive teaching tool that streamlines Faraid inheritance distribution and Quranic learning. Users will get tailored answers through NLP-based dialogues and automated asset computations, which will facilitate comprehension of Islamic teachings and guarantee that inheritance is allocated equitably in accordance with Islamic law. The creation of an AI-based Quranic chatbot that improves Quranic learning and makes appropriate inheritance distribution easier is the main goal of this research. This entails creating an NLP-powered chatbot to efficiently retrieve pertinent Quranic verses and provide Faraid inheritance calculations, designing an NLP algorithm to accurately comprehend and respond to user queries, and assessing the chatbotAos efficacy through user feedback and iterative improvements to improve accuracy and usability. Because it is a web-based platform, individuals of all ages and backgrounds can easily use the By automatically calculating inheritance in accordance with Islamic Faraid laws and extracting pertinent Quranic passages in response to user queries, it will function as a learning aid. Although Muslims IAES Int J Rob & Autom. Vol. No. September 2025: 393-406 IAES Int J Rob & Autom ISSN: 2722-2586 are the main audience for this chatbot, non-Muslims who want to learn about Islamic principles can also use it to learn about Islamic inheritance rules. The chatbot will be able to comprehend user inquiries, offer clarifications, and produce precise answers based on Islamic principles thanks to NLP technology. It is crucial to remember that this study does not address all facets of Islamic jurisprudence (Fiq. and only concentrates on Faraid regulations. The creation of this chatbot is noteworthy because it uses AI-driven automation and accessibility to modernize Islamic instruction. This project improves usersAo comprehension of Islamic inheritance laws by fusing Quranic verses with AI-based interactive learning, which makes it simpler for users to understand and apply these lessons in practical situations. The chatbot also tackles a crucial problem by making sure that Faraid inheritance regulations are appropriately adhered to, avoiding injustices and heir disputes. This is consistent with Islamic beliefs, which place a strong emphasis on justice, fairness, and human dignity . Additionally, this effort resolves the misunderstanding that Islam and modernity cannot coexist by bridging the gap between traditional religious studies and contemporary technical breakthroughs by making Islamic knowledge more accessible . Finally, by creating an AI-based Quranic chatbot that improves interaction with Quranic teachings and makes Islamic inheritance computations easier, this project investigates the incorporation of AI technology into Islamic education. Natural language processing (NLP) will be used by the chatbot to comprehend customer inquiries, retrieve pertinent passages from the Quran, and determine inheritance shares in accordance with Islamic Faraid laws. The studyAos importance is in its ability to bridge the gap between contemporary technology and traditional Islamic teachings, improving the accessibility, comprehension, and applicability of Quranic learning and Islamic legal principles in daily life. The study is organized as follows: section 1 introduction, section 2 literature survey, section 3 method, section 4 result and discussion and section 5 conclusion as well as recommendation. LITERATURE SURVEY The creation of these an intelligent Quranic chatbot, attempts to bridge the gap between religious advice and contemporary technology by helping users comprehend Islamic inheritance law (Farai. and provide pertinent Quranic verses. The integration of NLP techniques and algorithms is examined in this literature study, which compares several strategies to identify the best fit for this chatbot. It also looks at the study of Faraid in the Quran, including its verses, distribution guidelines, and integration with NLP for precise inheritance computations. Faraid studies in Al-Quran This section will display a detailed overview of what Faraid or Islamic Law on Inheritance is in the QurAoan how to integrate Faraid with an intelligent chatbot. It covers the definition of QurAoan. Faraid, its distribution law, and the integration of Faraid and Quranic verse in an intelligent chatbot. The Holy QurAoan is the holy scripture of Islam, and it was written in Classical Arabic and, for Muslims, it is a source of moral compass for their faith and legal matters. It serves as a transcendent communication medium, promoting human life and transcendent communication with Allah through the Prophet Muhammad SAW . In the QurAoan, there are various rules, tales, and decrees from Allah that it become the sacred guidance for the whole Muslims in this world since the Prophet Muhammad SAW. Classical Muslim scholarship views the Quran as the word of God revealed to the prophet Muhammad, the primary source for determining beliefs and practices of Islam, and serves as a sacred object in ritual and everyday settings . Faraid or Islamic inheritance law is one of many topics touched on in the QurAoan. There are multiple times the QurAoan mentions Faraid in Surah An-Nisa. Faraid distribution law Faraid, the Islamic law of inheritance, divides the properties of a dead Muslim among his/her children in an exact way. This method depends on particular portions mentioned in the QurAoan and the traditions of the Prophet, which maintain fairness in property distribution among children and avoid misunderstanding as well as portraying conservative Islamic virtues. As for children of the deceased, daughters receive half of what sons do because the Quran says sons deserve twice what daughters do. This is practiced in the inheritance law because, according to the Quran. AuTo the male the equivalent of two femalesAy. Therefore, sons get the bigger share since they are supposed to take care of their families traditionally. The Faraid system protects a balanced and just apportionment of a dead MuslimAos property, specifically set out under Islamic law. Hence, by following these principles, the partition respects relations between relatives and ensures the right to property ownership by transferring ownership rights from a deceased person to their living relatives based on AllahAos provisions . In case the late husband leaves kids, the estate share of the wife is lowered to one-eighth. On the other hand, if there are no children, then this lady is entitled to one-quarter of all his properties. This clearly Faraid distribution calculation using AI-based Quranic chatbot (Iman Hafizi Md Zi. A ISSN: 2722-2586 demonstrates one of the reasons for reducing her entitlement is due to the fact that somebody is already taking up quite an amount in terms of parental responsibility. In the same way, the man whose wife has died without having children should take the half of what belongs to her. but when they leave some kids behind him it is better for him to leave three quarters (A) because they need it more than adults after all as they are more connected than anyone else as stated in the The proportion of the motherAos entitlement is dependent on whether there are any children involved or not. If the deceased had children, she would get a sixth part as an heir. otherwise, she would take a third part considering her closer proximity to and main responsibility for the departed. The father gets 1/6 of the share when there are kids. If the dead person does not have any kids, then the dad can receive more money from the estate because heAos still part of it after everyone else gets their fixed parts, it is often what is left to him. AI chatbot Intelligent chatbots are cutting-edge AI-powered devices made to converse like humans and carry out operations in response to user input, decreasing the need for human intervention and accelerating procedures . Intelligent chatbots use AI. NLP, and machine learning to comprehend context and produce precise, natural responses, in contrast to simple chatbots that depend on predefined scripts. By learning from user chats, intelligent chatbots may personalize interactions, increasing user pleasure and engagement. For example. AI chatbots in health programs have demonstrated effectiveness in encouraging healthy habits and lifestyle changes . They can help with customer service, e-commerce transactions, scheduling, and financial advice in a variety of industries, including retail, banking, education, and healthcare . Intelligent chatbots provide a dynamic and effective solution for a variety of applications by combining real-time data retrieval and content search capabilities. Natural language processing (NLP) in intelligent chatbot Because chatbots can effectively converse utilizing sophisticated NLP techniques, they are growing in popularity. NLP gives chatbots the ability to fully understand syntax, semantics, and context. This enables them to properly interpret and react to user inquiries. NLP has greatly enhanced automated text and language analysis, boosting chatbot capabilities with advances in machine and deep learning . The goal of the artificial intelligence field of NLP is to create systems that can comprehend and process human language . Data preparation is the first and most important stage in transforming unstructured text into structured data for additional analysis, which requires a variety of NLP approaches. Lemmatization, stemming, tokenization, and stop word removal are basic preprocessing methods. To make analysis easier, tokenization divides text into smaller chunks, like words or phrases . To improve processing speed, stop word removal removes common words with low semantic meaning . Algorithms in NLP Building an intelligent chatbot that excels in response production, context management, and language comprehension requires careful consideration of the algorithm to be used. The algorithm needs to be able to figure out user inquiries precisely, carry on meaningful discussions, and provide pertinent answers Several very efficient algorithms that are frequently employed in NLP-based chatbot building have been found during research. These consist of transformer and attention mechanisms, rule-based systems, machine learning-based models, and sequence-to-sequence (Seq2Se. Regarding accuracy, efficiency, and conversational context adaptability, each of these algorithms has unique benefits. They do, however, have drawbacks and difficulties of their own, such as processing complexity, data dependency, or trouble answering unclear inquiries. As a result, choosing the best algorithm depends upon the particular needs of the chatbot, the type of user interactions, and the degree of automation and intelligence required for the system to operate efficiently. Ruled-based system is one of NLP algorithm that use a set of predefined rules created by developers to determine the chatbotAos response. These rules are commonly written using if-then statements and are designed to handle specific queries and scenario. This algorithm comes with features that easy to design and implement, and provides precise control over chatbot behavior and responses . Next is machine learningbased system algorithm, an NLP algorithm that use algorithm that allow the chatbot to learn from data and improve from time to time. It can understand and generate responses based on patterns and examples found in the training data. The advantages of using this algorithm are it can learn from previous algorithm and interactions and improve over time without manual intervention. However, by using this algorithm, a large amount of data for training is required to achieve high performance and it requires significant computational resources for training and inference . The last algorithm that can be used to develop NLP in the intelligent chatbot is Seq2Seq algorithm which is a group of neural-network-based models . Seq2Seq, usually implemented using recurrent neural network (RNN) or long short-term memory network (LSTM. , are powerful for handling conversational task. IAES Int J Rob & Autom. Vol. No. September 2025: 393-406 IAES Int J Rob & Autom ISSN: 2722-2586 Exploring approaches to Faraid implementation: traditional practices and technological innovations The usefulness of GPT-3. 5 in providing fatwas associated with Islamic family law is investigated in this study . It provides answers more quickly and easily than conventional techniques, but it frequently comes short of human researchersAo clarity and depth. GPT-3. 5 might give incorrect answers, reflect biases in its training data, and misinterpret questions. Furthermore, it is unable to duplicate the interactive dialogue that is necessary for conventional fatwa procedures. E-FaraidTanah, a web-based expert system, was created in . to help Muslims comprehend Islamic inheritance law and determine land allocation based on Faraid. their recent study in . , the authors presented blockchain technology in estate distribution, highlighting its advantages, which include quicker claims, enhanced security, and the avoidance of illegitimate asset sales. The authors examined typical problems with conventional approaches and presented modifications based on the results of their qualitative study in order to enhance the current inheritance distribution system . In order to learn more about the best practices in Islamic estate planning, the study used interviews. Respondents and estate planning service providers in Peninsular MalaysiaAos northern region participated in semi-structured interviews . This research uses a grounded theory-based qualitative methodology that combines inductive and qualitative analysis with constructivist and interpretivist viewpoints. In-person interviews and a review of the literature were used to collect data . To facilitate continual improvement and assess customer satisfaction, the project employed an incremental and iterative strategy. The creation of M-Faraid, a smartphone app intended to inform Muslims about Islamic inheritance law, is covered in this study. The application assists users in determining their inheritance shares and comprehending wealth distribution. It seeks to lessen inheritance disputes within the family by allowing self-calculation . In order to facilitate the complicated procedure of allocating money in accordance with Islamic Inheritance Law . , the author presents the Intelligent Faraid Calculator. The systemAos goal is to help Muslims understand and execute the right calculations in line with Islamic law. also aims to teach Muslims how to properly organize their estate distribution and improve upon an earlier version created by a USM student. The purpose of this study is to determine how much knowledge Muslims in Kuala Lipis. Pahang, have about Faraid . There are 102 participants chosen by convenience sampling, and data was gathered quantitatively using an online questionnaire. The results demonstrate that a sizable portion of respondents had an adequate understanding of Faraid. The study resulted to the conclusion that the majority of Muslims are capable of determining the legitimate heirs in inheritance cases after carefully reviewing the research papers . This result emphasizes how important it is to maintain and improve Islamic education. However, there is a demonstrable decrease in some populationsAo comprehension of Faraid. Integration of QurAoan with intelligent chatbot The development of Quranic chatbots with AI in place is to offer a platform where followers can access, comprehend, and interact with messages contained in Al-Quran. This document investigates the major subjects, approaches taken and results found in the applications of AI to Quranic studies with specific reference to NLP, machine learning as well as chatbot development. A chatbot in which NLP is integrated with the Quranic text can substantially improve the ability to give precise, meaningful, and contextual responses to user query. Doing this may require exploiting diverse NLP approaches while interpreting ArabicAos intricate and sensitive nature. thus, informally educating or directing people through these meanings is made possible using such a chatbot. Studies like existing chatbot that effectively handles general medical question in Algerian Arabic dialect using three sequence-to-sequence models based on RNN . show that the chatbot can execute and perform the process that involved different language dataset like Quranic Arabic. Tokenization, part-ofspeech tagging, and named entity recognition are language processing techniques that have been implemented in the analysis of Quranic verses. METHODOLOGY This part introduces the methodology used for building the Quranic chatbot developed for aiding people in comprehending Islamic inheritance laws (Farai. and provision of relevant Quranic verses. The chatbot that assists Muslims in resolving Faraid-related issues is developed using a variety of techniques. This study addresses the basic Faraid distribution, which includes the husband, wife, father, mother, and children, including both sons and daughters. The four primary sections of the technique are requirements, design, development, and testing. Requirement Analysis Understanding and specifying the essential elements for an extensive study or system associated with Islamic inheritance law (Farai. requires an intensive requirement analysis phase. In order to guarantee Faraid distribution calculation using AI-based Quranic chatbot (Iman Hafizi Md Zi. A ISSN: 2722-2586 authenticity, dependability, and comprehensiveness in the representation of Quranic inheritance principles, this step focuses on gathering, evaluating, and validating appropriate information sources. Quranic verses dataset Google Chrome was used to browse a GitHub repository where the data was imported and extracted. A complete collection of Quranic verses is included in this dataset, along with translations for each word and It also offers thorough explanations of Faraid, or Islamic inheritance law, with an emphasis on important Quranic verses that describe the division of inheritance. These passages, which determine the rightful shares of heirs, including parents, spouses, children, and other relatives, include Surah An-Nisa . :7, 4:11, 4:12, and 4:. Islamic inheritance law is based on these passages, which guarantee equity and justice in the disposal of wealth in accordance with divine precepts. The dataset helps experts, researchers, and students comprehend the exact legal and theological ramifications of Faraid as outlined in the Quran by providing word-by-word translations and contextual meanings. Faraid laws and principles Information about Faraid laws and principles is compiled from a thorough literature assessment and is supported by a number of reliable sources, including scholarly journals, research papers, reputable websites, court records, and traditional Islamic writings. The comprehension of Faraid is further enhanced by information from recent legal research, fatwas published by Islamic scholars, and government laws pertaining to inheritance law in certain nations with a majority of Muslims. In order to ensure a thorough and well-rounded examination of inheritance distribution, legal principles, and contemporary uses of Faraid in the current setting, the information is also sourced from scholarly publications, digital repositories, and university research databases. Design phase The system architecture, which describes the structural elements and their interconnections, is presented to give a thorough grasp of the implementation strategy. A well-structured flowchart that shows the methodical procedure and logical progression of operations is then used to portray the systemAos sequential Figure 1 shows the flow begins with user inserting their queries in the chat box. After receiving user queries, the chatbot system will process the queries along with other details before starting the calculation. Then, with all the rules, and principles of Faraid related to user queries gathered, the calculation perform at the same time as the process of retrieval of relevant Quranic verses. Finaly, the calculation result displayed along with the selected relevant Quranic verse to the user. Figure 1. Flowchart outlining the entire research process IAES Int J Rob & Autom. Vol. No. September 2025: 393-406 IAES Int J Rob & Autom ISSN: 2722-2586 System architecture The suggested Quranic botAos system architecture as depicted in Figure 2 is built primarily to respond to user queries, it also finds relevant passages from the Quran as well as calculates Faraid (Islamic The primary layers of the system include user interface layer, application logic layer, and data Online users can communicate with the chatbot by means of web-based platforms, this is where the user interface layer is. As far as requests are concerned, the application logic layer is composed of the chatbot engine. NLP module and Faraid calculator which all handle them in terms that make sense to man while calculating inheritance at the same time. In order for correct actions to be carried out, data layer has certain key data sets like Faraid rules, user query logs. Quranic verses among others depending on the scenario in Figure 2. Diagram of the proposed systemAos architecture Development phase The methodology for developing the Faraid chatbot is centered around the implementation of a rulebased algorithm for inheritance distribution and a fuzzy matching function for user interaction. These two components ensure that the chatbot provides accurate and reliable calculations while improving the overall user experience. Rule-based algorithm implementation and fuzzy matching function The Faraid chatbot is implemented using the rule-based system, which gives it a high degree of reliability and accuracy based on well-defined Faraid rules. Accordingly. Islamic inheritance laws have been encoded within an if-then framework that the chatbot will be evaluating in order to respond to user input and determine the lawful distribution of assets. The system may use decision trees or look-up tables to follow and analyze different situations of inheritance, based on actual heirs in the case: partners, children, or parents. Based on the pseudocode in Figure 3, the function to calculate Faraid distribution in the rule-based have multiple subfunctions and processes. First off, it deducts debts from the total estate, then apportions fixed shares to parents and spouses. The remaining estate (Asaba. is equally shared among the children, with double allocation to the sons as compared to their sisters according to Faraid rules. It, in fact, acts as an impartial, precise, and automated allocator based on user input. In other words, first, the entire estate is used to pay off any existing debts. Following that, one-sixth of the remaining assets are given to each parent. The boys and daughters inherit in the proportions of half and one-quarter, respectively, while the woman receives one-eighth. Faraid distribution calculation using AI-based Quranic chatbot (Iman Hafizi Md Zi. A ISSN: 2722-2586 Figure 3. Pseudocode for rule-based Faraid distribution algorithm As illustrated in Figure 4, fuzzy matching comes in to help the chatbot understand usersAo queries that may include typos and variations. It compares the text input against predefined questions in line with fuzzy matching and returns the closest possible response if the similarity is beyond a given threshold value. Therefore, users are assured of getting an accurate answer wherever their wordings differ. Figure 4. Figure pseudocode of fuzzy matching function Testing phase Functionality testing was carried out to assess the Quranic chatbotAos effectiveness in order to make sure it works and developed well. These tests evaluate the chatbotAos precision in answering user questions, retrieving pertinent verses from the Quran, and accurately calculating Faraid distributions. The functioning of the chatbot will be methodically verified in this study using test cases, guaranteeing that it generates accurate responses, finds authentic Quranic references, and executes Faraid computations accurately in a variety of Seven sample test cases that were utilized to assess the Quranic chatbot are shown in the Table 1. thorough description, user input, expected and actual outputs, and pass/fail status are all included in each test IAES Int J Rob & Autom. Vol. No. September 2025: 393-406 IAES Int J Rob & Autom ISSN: 2722-2586 Table 1. Examples of test cases used to evaluation the Quranic chatbot Test ID Test case User Query Prompt. Send Button Functionality. AuENTERAy key Functionality User Query Handling Quranic Verses Retrieval Faraid Calculation Functionality AuClear ChatAy Button Functionality Description Ensure user can prompt their queries in the chat box field. Test the functionality of the AuSENDAy button Test the functionality of the AuENTERAy key Ensure the chatbot accurately responds to a user query about Faraid. Test chatbot retrieval Quranic verses function. Ensure the chatbot accurately calculate the Faraid distribution. Test the functionality of the AuClear ChatAy button Expected output User can fill the chat box field with their User can send the queries they write in the chat box field by clicking AuSENDAy button. User can send the queries they write in the chat box field by pressing AuENTERAy key. Chatbot responds to the user queries by replying to the user with follow up question related to the queries. Responses to the user queries with the relevant Quranic verses. Chatbot responses and display Faraid distribution amount accurately. The chatbot will reset the conversation log and User Interface back to default. Pass/Fail Passed Passed Passed Passed Passed Passed Passed RESULT AND DISCUSSION This chapter offers a thorough discussion of the outcomes and conclusions drawn from the creation and assessment of this AI-powered Quranic chatbot. The prototype user interface will be the main topics of To make sure it efficiently promotes user interactions, the prototype user interface will be examined in terms of its design, usability, and overall user experience. The outcomes of the functionality tests will be reviewed in the interim to assess the chatbotAos precision, effectiveness, and capacity to deliver dependable answers to user inquiries. Prototype user interface The user interface is the point at which human users interact with a computer, website or The goal of effective UI is to make the userAos experience easy and intuitive, requiring minimum effort on the userAos part to receive the maximum desired outcome. It hides the complexity that runs behind with the simpler and more user-friendly page. Figure 5 shows the main page of the Faraid chatbot. In the user interface includes the send message box for user to prompt their queries and an interactive send button to send the queries to the chatbot. The message sent will pop up on the right side of the page with green background indicating it is the user messages. The chatbot then will reply to the queries with related responses at the left side of the page with white background. Besides, it also has a clear chat button for user if they want to clear all the previous chat history to get better user experience. In addition, the user interface also has the dark mode button to toggle the theme of the user interface to be dark mode to enhance the user comfortability using the chatbot. Figure 5. Faraid chatbot main page Faraid distribution calculation using AI-based Quranic chatbot (Iman Hafizi Md Zi. A ISSN: 2722-2586 Input process test and results The input process refers to user interactions where they enter messages, queries, or commands into the chatbot. As seen in Figures 6 to 8, which show how the input processing operates, the chatbot analyzes these inputs and responds appropriately based on pre-established criteria. The chatbot will use fuzzy matching to compare user queries with the similarity score with predefined responses to determine whether the user input is related to Faraid topic or not. The similarity score is set differently based on the type of input which are frequently asked questions (FAQ. , greetings, and key commands. Figure 6. Result of Faraid related question Figure 7. Result of non-Faraid related question Figure 8. Result of guides queries Calculation and output process test and results The calculation process refers to the process to get the final result of the Faraid distribution that occurs at backend of the system. The output process refers to the process of displaying final results of the calculations on the screen for the users. Figures 9 portrayed how the calculation and output process is working. The chatbot will detect the key command from user input such as AucalculateAy to trigger their calculation function which later will reply to the user with follow up questions for user to insert to gain the information required for the Faraid distribution calculations. The chatbot then will gather the information received from the user update and response and start the calculation based on the decision tree constructed. Finally, the chatbot will display the calculation results and show each heirAos shares accurately following the Faraid law. User evaluation test The usability testing technique was used as the basis for the user evaluation test. After the Faraid chatbot was developed, ten usersAo opinions were gathered through a Google Form as part of a user IAES Int J Rob & Autom. Vol. No. September 2025: 393-406 IAES Int J Rob & Autom ISSN: 2722-2586 These users were given the chance to test the chatbot and, based on their experiences, offered informative and constructive feedback. The user evaluationAos findings show that the Faraid chatbot has received generally positive feedback as shown in Figure 10. Sixty percent of consumers thought the chatbot was simple to use, and seventy percent said they felt at ease using it. The majority of users gave the chatbot a learnability rating of four out of five, indicating that it is comparatively simple to use and comprehend. Just 40% of users, however, thought the error messages were suitable and useful. Sixty percent of the respondents agreed that the information was well-organized, and half . %) thought that the chatbot provided them with helpful information. 50% of respondents were satisfied with the user interface, while 40% thought the chatbotAos functionality and capabilities matched their expectations. Fifty percent of users said they were happy with the chatbotAos overall experience. Figure 9. Result of chatbot feedback question Usability test result Percentage of users Ease of Use of Comfortability Learn Chatbot Error Information Information the Chatbot of the Chatbot Experience to Message Finding in the Organization Use This Function Chatbot on Screen Chatbot Chatbot User Interface Function and Overall Capabilities Satisfaction of Expectation the Chatbot Evaluation criteria Figure 10. ParticipantsAo ratings in the usability test CONCLUSION AND RECOMMENDATION A ground-breaking development in Islamic legal studies, the Faraid AI-Based Chatbot offers a userfriendly. AI-driven approach to understanding and putting Faraid ideas into practice. It accelerates the complex computations required for Islamic inheritance distribution through the use of NLP and artificial intelligence technologies. For researchers, students, legal scholars, and the Muslim community at large, the chatbot improves accessibility. Since Shariah heavily relies on Islamic inheritance law, detail and accuracy are crucial. In addition to being an instructional tool, the chatbot helps users figure out inheritance shares. is helpful in both academic and legal contexts due to its capacity to process real-time questions and provide answers derived from reliable sources. Future enhancements should include broadening its database to include all qualified heirs under Faraid law in order to realize its full potential. Creating a mobile application would enhance offline usability, accessibility, and engagement even further. These developments would make the chatbot a vital resource for studying and practicing Islamic law. Faraid distribution calculation using AI-based Quranic chatbot (Iman Hafizi Md Zi. A ISSN: 2722-2586 ACKNOWLEDGMENTS The authors also wish to acknowledge the Faculty of Computer and Mathematical Sciences. Universiti Teknologi MARA. Shah Alam. Selangor for providing the facilities and academic environment that contributed to the success of this research. FUNDING INFORMATION The authors would also like to express their sincere gratitude to the Faculty of Computer and Mathematical Sciences. Universiti Teknologi MARA. Shah Alam. Selangor, for their financial support and continued encouragement throughout the course of this research. AUTHOR CONTRIBUTIONS STATEMENT This journal uses the Contributor Roles Taxonomy (CRediT) to recognize individual author contributions, reduce authorship disputes, and facilitate collaboration. Name of Author Iman Hafizi Md Zin Nur Farraliza Mansor Norizan Mat Diah Shakirah Hashim Mastura Mansor C : Conceptualization M : Methodology So : Software Va : Validation Fo : Formal analysis ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue I : Investigation R : Resources D : Data Curation O : Writing - Original Draft E : Writing - Review & Editing ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue Vi : Visualization Su : Supervision P : Project administration Fu : Funding acquisition CONFLICT OF INTEREST STATEMENT Authors state no conflict of interest. DATA AVAILABILITY Data availability is not applicable to this paper as no new data were created or analyzed in this study. REFERENCES