arXiv:2611.02587cs.CLNov 2026

Manuscript Offprint

arXiv:2611.02587

They Know Where It Is, But Not What It Says: A Bilingual Hallucination Benchmark of Hadith Recall in Open LLMs

Dayam Nadeem, Safdar Mustafa, Ameen Ur Rehman, Shahab Saquib Sohail, Mohammad Nadeem, Usman Naseem

Dayam Nadeem

Jamia Hamdard

dayam8696@gmail.com

Safdar Mustafa

Jamia Hamdard

safdarmustafa01@gmail.com

Ameen Ur Rehman

KFUPM

g202527430@kfupm.edu.sa

Shahab Saqib Sohail*

Jamia Hamdard

shahabssohail@jamiahamdard.ac.in

Mohammad Nadeem

Aligarh Muslim University

mnadeem.cs@amu.ac.in

Usman Naseem

Macquarie University

usman.naseem@mq.edu.au

Abstract

Large language models are increasingly consulted for religious knowledge, including the recall of specific Hadith (recorded sayings and actions of the Prophet Muhammad, peace be upon him). Unlike open-ended generation, Hadith recall is a high-stakes, verifiable task: a reference (collection, chapter, and Hadith number) has exactly one correct text, and any deviation from it constitutes a fabrication that can be mistaken for authentic scripture. This study introduces a bilingual (English/Arabic) benchmark that probes five open-weight, locally-deployable language models (Mistral-7B, Gemma3-4B, Jais-7B, ALLaM-7B, and Phi4-mini-3.8B) across all six canonical Sunni Hadith collections (Sahih al-Bukhari, Sahih Muslim, Sunan Abi Da'ud, Jami' al-Tirmidhi, Sunan an-Nasa'i, Sunan Ibn Majah), sampling 500 Hadith per collection (3,000 per model per language, 30,000 responses total). Each model is given only the bibliographic reference and asked to reproduce the exact Hadith text, with no retrieval augmentation, and is scored on lexical fidelity (BLEU) and semantic fidelity (multilingual cosine similarity), with refusals flagged separately. Across all five models and both languages, 0% of 30,000 responses achieve both high lexical and high semantic fidelity, i.e., an exact, verifiable match to the source text. Arabic responses fare uniformly worse than English. These findings suggest that current open-weight LLMs, used without retrieval grounding, are unreliable and potentially dangerous sources for exact religious-text recall, and that deployment for Islamic scholarship should mandate retrieval-augmented generation over a verified corpus rather than parametric memory. The complete code, prompts, evaluation pipeline, and scored outputs are publicly available at https://github.com/dayam8696/Hadith-Hallucination-Benchmark.

1 Introduction

Large language models (LLMs) are used, informally and increasingly, as reference tools for religious knowledge: users ask a chatbot to quote a specific verse, ruling, or Hadith rather than opening a physical text or a vetted digital corpus. For most everyday knowledge tasks this convenience is acceptable because errors are low-stakes and easily checked. Religious scripture is different. A Hadith is a specific, canonicalized unit of text attributed, numbered, and preserved across centuries of chain-of-narration (isnad) scholarship and a model that produces a fluent, confident, but fabricated Hadith text is not merely wrong; it is putting invented words into the mouth of the Prophet (peace

Submitted to 40th Conference on Neural Information Processing Systems (NeurIPS 2026). Do not distribute.

be upon him) under the appearance of authentic transmission. This is a uniquely severe form of hallucination: the failure mode is not an unhelpful answer, but a convincing forgery.

One might reasonably expect that a model built within the Arab world, and trained explicitly for Arabic fluency, would recall Arabic religious text more faithfully than a general-purpose model trained mostly on English. The results tell the opposite story: Jais and ALLaM, both developed for Arabic-language understanding, hallucinate at rates no better, and on several collections worse, than models with no Arabic specialization at all. Fluency in a language, it turns out, is not the same as having memorized its scripture.

Despite this, no existing benchmark to date isolates exact-recall hallucination for Hadith text specifically, across multiple canonical collections, in both Arabic (the original language of transmission) and English (the language most commonly used by non-Arabic-speaking Muslims and by LLMs deployed globally). Existing hallucination benchmarks for LLMs largely target general factual QA, summarization consistency, or code correctness, and multilingual religious-text benchmarks are sparse in the open literature. This gap matters because Hadith recall has a property that makes it an especially clean hallucination probe: for a given reference, there is exactly one correct answer, drawn from a fixed, well-documented corpus, so lexical and semantic similarity to the ground truth can be measured directly, without the ambiguity that plagues open-ended factuality evaluation.

Contributions. This study presents the first systematic bilingual benchmark of Hadith-recall hallucination in open-weight LLMs, to the best of current knowledge. Concretely:

  • This study constructs a stratified, reproducible evaluation set of 3,000 Hadith references per language (500 randomly sampled from each of the six major Sunni collections), paired with ground-truth Arabic and English text.
  • This study evaluates five open-weight models runnable on consumer hardware via Ollama including two models built specifically for Arabic (Jais-7B, ALLaM-7B) under a reference-only prompt with no retrieval augmentation, in both Arabic and English.
  • This study proposes a two-axis scoring protocol (lexical fidelity via BLEU, semantic fidelity via multilingual sentence-embedding cosine similarity) with explicit refusal detection, and uses it to classify every response as correct, partial, theme-only, hallucinated, or refused.
  • This study shows that across all five models and both languages, the correct category is empty: 0% of 30,000 responses simultaneously match the ground truth lexically and semantically, and Arabic responses are uniformly classified as hallucinated regardless of model or collection.

Figure 1 gives a complete visual walkthrough of this pipeline end to end: how a bare bibliographic reference becomes a bilingual prompt, how that prompt is answered by each of the five evaluated models, and how every resulting response is filtered, scored, and finally sorted into one of five outcomes. Rather than describing each stage in the abstract, the figure lets the reader trace a single Hadith reference through the entire system at a glance; each step is unpacked in turn in Section 3 and Section 4.