Manuscript Offprint

arXiv:2608.20246

What Makes a Good Fiqh Retriever? Answer Retrieval for Arabic Islamic Jurisprudence

Somaya Eltanbouly, Heba Sbahi, Samer Rashwani, Abdessalam Bouchekif, Mutaz al-Khatib, Shahd Gaben, Mohammed Ghaly

Abstract

Retrieval-Augmented Generation is used for Islamic question answering, but most systems are evaluated end-to-end, making retrieval failures difficult to isolate from generation failures. We study answer-bearing retrieval for Arabic fiqh, where a passage is relevant only if it states the ruling required by the question. We build a retrieval test collection for Arabic fiqh and use it to evaluate dense, lexical, hybrid, fine-tuned, and madhhab-aware retrieval strategies. The best retriever achieves 0.524 MRR@5, while fine-tuning improves performance to 0.553. Hybrid retrieval provides limited gains for strong models, whereas madhhab-aware filtering more than doubles MRR@5 on school-specific questions. We further present an error analysis showing that the main challenge is distinguishing answer-bearing passages from topically similar passages that do not contain the requested ruling.

1 Introduction

Retrieval-Augmented Generation (RAG) is increasingly used in Islamic question answering because religious rulings must be grounded in trustworthy and verifiable sources (Abbas et al., 2026). This is particularly important in fiqh, where the same question may have different valid rulings depending on the madhhab (Atif et al., 2025). If retrieval returns an incomplete, irrelevant, or school-inconsistent passage, the generated answer may be misleading even when the language model itself is fluent. Recent work has applied RAG to fiqh question answering (Mohammed et al., 2025; Bhatia et al., 2026; Alan et al., 2025) and Quran-related tasks (Abd Elhakeem et al., 2026; Khalifa et al., 2025), demonstrating the potential of combining retrieval with Large Language Models (LLMs) for religious question answering.

Despite this progress, most Islamic RAG systems are evaluated end-to-end, making it difficult to distinguish retrieval failures from generation failures (Abbas et al., 2026; Alan et al., 2025; Mohammed et al., 2025; Yu et al., 2025). This limitation is particularly important for fiqh question answering, where a generation model can only produce a grounded answer if the retrieved context contains the ruling needed to answer the question.

Retrieval in fiqh also poses challenges that are not captured by standard retrieval evaluation. For question answering, a passage may discuss the correct topic without providing the ruling required by the question. Furthermore, for madhhab-specific questions, a retrieved passage must not only contain the ruling but also correspond to the correct jurisprudential school. We therefore evaluate retrieval using answer-bearing relevance, where a passage is considered relevant only if it contains the ruling needed to answer the question.

Motivated by these challenges, we study the retrieval component of a fiqh RAG system. We build a retrieval test collection for Arabic fiqh and use it to evaluate dense, lexical, hybrid, fine-tuned, and madhhab-aware retrieval strategies. We investigate two research questions: RQ1: What retrieval configuration is most effective for answer-bearing fiqh retrieval? and RQ2: How does madhhab information affect fiqh retrieval?

Our contributions are fourfold. First, we introduce the first answer-bearing and madhhab-aware retrieval evaluation for Arabic fiqh, where relevance requires stating the requested ruling rather than merely matching the topic. Second, we construct a fiqh retrieval test collection covering both general and madhhab-specific questions. Third, we evaluate a diverse set of retrieval models and strategies, including multilingual, Arabic-focused, domain-adapted, fine-tuned, hybrid, and madhhab-aware retrievers. Finally, we provide a quantitative and qualitative analysis of retrieval failures in answer-bearing fiqh retrieval.

References (11)