Skip to content

Method

How an answer is made

Every answer follows the same steps. Several are done by AI models, and this page says which.

The steps

  1. Plan the question

    A model reads your question and decides what to look up: a verse, a hadith, a named book, a narrator or a wording. It also turns your words into the Arabic terms the books use, because the library is in Arabic.

  2. Search the sources

    The app searches the Quran, classical tafsir, the main hadith collections and the Shamela library of Arabic books. For a question about a school's position it starts with that school's own books (see the school setting).

  3. Draft only from the retrieved text

    A model writes the answer from the pages retrieved for your question. A citation can only point at a page retrieved in that turn. When nothing usable is found, the answer says so instead of guessing.

  4. A second automated check

    A second pass by an AI model reads each claim against the page it cites. It can keep a claim, soften it, remove it, or point it at a better page from the same retrieved pages. It cannot add a source that was not retrieved. Quoted Arabic that matches no retrieved page is marked as unverified.

    The label “Reviewed by Quran Gallery” (on some older saved answers, “Revised by Quran Gallery”) means this automated check finished and corrected at least one claim. It does not mean a person read the answer. An answer with no label was either checked with nothing to change, or not checked.

  5. Hadith grades

    The model is instructed to give a hadith grade only when it can name the collection the report appears in from a source it retrieved. Otherwise the answer says the wording and grade were not verified.

  6. What it does not do

    It does not issue rulings, and it does not replace a qualified scholar. For a ruling on your own situation, ask a qualified scholar. No person reviews an answer before you see it.

Response modes

You can choose how much work goes into an answer. The modes differ in how long the search runs and which models are used, not in the steps above.

Quick
Faster Flash response with full source grounding
Balanced
Better precision and grounding for everyday questions
Deep Research
Pro throughout for deeper research and reasoning

Free with a Quran Gallery account. Sign in to ask; your conversations are saved to your account, and anyone can read an answer you share.

Quran Gallery Chat is an educational tool, not a ruling (fatwa). For a ruling on your own situation, ask a qualified scholar.