All products

Ibrah

On the App Store and Google Play as Ibrah: Stories of al-Bidaya

Ask about the prophets' stories and get answers taken only from Ibn Kathir's al-Bidaya wa-l-Nihaya, with the volume and page for every claim. Or read the book itself, page by page, in Arabic with English or Indonesian.

For
Adults who want to study the prophets' stories from a classical source
Runs on
iPhone, Android
Requires
iOS 15 or Android 7.0 or later
Price
Free to read; your own questions use coins
Status
On the App Store and Google Play

Ibrah answers questions about the prophets' stories from one book: Ibn Kathir's al-Bidaya wa-l-Nihaya. Every claim in an answer points to the paragraph it came from, with the volume and page of the printed edition, so you can open the passage and check it yourself. You can also read the book, page by page, in Arabic with an English or Indonesian translation.

The name is Arabic. QS Yusuf 12:111 says the prophets' stories hold 'ibrah, a lesson for people of understanding, and are no invented tale.

Ibrah in 30 seconds, on iPad and iPhone.

Why we made Ibrah

We love this book. Ibn Kathir tells the stories of the prophets, and of the generations after them, from the Quran and the hadith, and he says which reports he trusts and which he doubts. But the printed edition runs to twenty volumes, and a set is expensive.

We kept going back to it anyway. Sometimes to check a detail before repeating it, sometimes to find a story we half remembered and couldn't place, which in twenty volumes can take a long time. We also use it to tell the prophets' stories to our children, and we want to tell them the way Ibn Kathir does, not the way we happen to remember them.

Ibrah is the tool we wanted for that: ask in your own words, get the answer with its pages, and open those pages to read them yourself.

Ask, and see the page

  • Ask in Indonesian, English or Arabic, for example "Why was Prophet Yunus swallowed by the whale?" or "What did Musa learn from Khidr?"
  • Ibrah finds the stories in the book that hold the answer, shows which ones it's reading, and retells only what they say. Every paragraph of the answer cites the book's paragraphs by volume and page.
  • Under the answer are the passages themselves. Tap one to read it whole, in Arabic and translation, then open the full story or the page it's on.
  • Quran verses are taken from the Tanzil.net text and placed by the app's code, never typed by the AI.
  • Switch on Book only to get the passages without the AI's summary.
  • While reading, touch and hold a paragraph and choose Ask about this paragraph.

Two iPhone screens of Ibrah: the Ask tab with the question of the day, How was Shamwil born in answer to his mother's prayer?, above three suggested questions; and the answer to How long did Nuh call his people, and how many believed?, with numbered citations and the verse QS 29:14 The Ask tab, and an answer that cites the book for every claim.

How an answer is made

The usual way to make an AI answer from a book is vector search. The text is cut into pieces of a fixed size, each piece is turned into a list of numbers, and the AI gets the pieces whose numbers sit closest to the question's. A cut like that can separate a report from Ibn Kathir's verdict on it, and an AI given the report without the verdict tells a weak hadith as plain fact.

Ibrah uses no vectors and no fixed-size pieces. It finds passages through a map of the book's stories, in four steps:

  1. Once, before anyone asks, Claude read the book section by section and grouped its paragraphs into stories: more than 2,500 of them in volumes 1 to 10. A story ends after Ibn Kathir's last word on it, so a hadith he calls gharib, or a report he traces to the Isra'iliyyat, stays together with what he says about it. Each story lists its people, places, verses and other names, such as Dzun Nun for Yunus. We review the map and correct it as we go.
  2. When you ask, the AI reads the map, not the book, and picks up to five stories that hold the answer.
  3. Claude Opus reads those stories whole and writes the answer from them alone, citing a paragraph for every claim. When Ibn Kathir doubts a report, the answer says so, and the passage carries a label.
  4. The answer is checked against the book. Code checks that every quote matches the book word for word, that every citation points to a passage the AI was given, and that every verse exists. Then two more checks, also by Claude Opus, read each sentence against the passages. A sentence cited to the wrong paragraph gets the right citation. A sentence that goes beyond the book, with an added detail or a dropped doubt, is rewritten from the passages, and the answer is checked again.

An answer that passes gets the Checked against source badge. An answer that still doesn't pass is replaced with a message saying so. The code checks run on every answer. The two reading checks run straight away on suggested questions and Premium questions; on any other answer, tap Check against the book.

Two iPhone screens of Ibrah: the end of an English answer about Nuh's people, marked Not checked, with a Check against the book (2 coins) button and the first passage from the book in Arabic; and an answer in Arabic about Nuh's age when he was sent, marked Checked against source Under every answer, the passages it came from. The Arabic answer on the right has passed the check.

What Ibrah won't do

  • Rulings: Ibrah gives no fatwas. A question about fiqh gets a polite suggestion to ask an ustadz.
  • Disputes: it takes no side between groups.
  • Guessing: if the book doesn't answer a question, Ibrah says so. If the answer is in a volume Ibrah doesn't have yet, it says that instead.
  • Personal crises: a question about self-harm or abuse gets a help line, not a religious answer.

Every answer carries the line "An AI retelling of Ibn Kathir, not a fatwa."

The Library

  • Read volumes 1 to 10 of al-Bidaya: the beginning of creation, the prophets from Adam to Isa, the nations after them, the Arabs before Islam, the Sirah to the Prophet's death ﷺ, the proofs of his prophethood, and the caliphs Abu Bakr, Umar, Uthman and Ali, to the year 40. You can ask about everything in these volumes.
  • Pages follow al-Turki's printed edition (Dar Hajar, 1997–2003), so page 265 in Ibrah is page 265 in the book, and every citation leads to the right page.
  • Show Arabic and translation together, or either one alone. Choose the text size, and a light, sepia or dark page.
  • Open a volume by its chapters, by story or at a page number, and search it in Arabic or in translation. Mark chapters as read, and Continue reading takes you back to where you stopped.
  • Touch and hold a paragraph to bookmark it, copy it with its citation, share it as an image, or send feedback about it.
  • A volume downloads the first time you open it, and after that it opens offline.

Two iPhone screens of Ibrah: the Library, with Continue reading at volume 1, page 231, above the volumes of al-Bidaya on their shelves; and page 231 of volume 1, from the chapter on Adam's death, in Arabic above its English translation The Library, and a page of volume 1 in Arabic and English.

Translations people check

The English and Indonesian translations are Ibrah's own, made from the Arabic with AI and then reviewed by people. Each passage says whether it's a Machine translation or Reviewed.

Found a mistake? Touch and hold the paragraph, select the words, and send feedback: suggest a better translation, or report wrong Arabic text, a wrong page or a wrong answer. A person checks every report, and a fix reaches everyone without an app update, marked Revised. Your feedback, in Settings, shows what happened to each report and the team's replies.

Three languages

Ibrah is in Indonesian, English and Arabic. In Arabic the whole layout runs right to left, and the book shows in Arabic only.

Two iPhone screens of Ibrah's Ask tab: in Indonesian, with Pertanyaan hari ini and Coba tanyakan; and in Arabic, laid out from right to left The Ask tab in Indonesian, and in Arabic.

What it costs to run, and why there are coins

Ibrah has two kinds of cost. Translating a volume and mapping its stories is paid once, and for that we use Claude Opus, the most capable model we've tried, because every answer rests on that work. A question is paid for every time someone asks one.

Answers are written and checked by Claude Opus too. We tried cheaper models, and accuracy dropped: they cited the wrong paragraph, gave one person's words to someone else, and left out Ibn Kathir's doubts about a report. When a smaller model wrote and checked the answers to 20 hard test questions, 8 of them failed the check. On Opus, none did. On Standard questions, only the first step, choosing which stories to read, runs on a smaller model, because in our tests it picked the right stories nearly as often as Opus. Premium runs every step on Opus and checks the answer straight away.

We're still looking for a cheaper way to find and check the passages that keeps this accuracy. Until we find one, coins cover the cost:

  • Reading the book is free, with no ads. So are the suggested questions: the first checked answer to each one is kept and shown to everyone who taps it.
  • Typing your own question needs an account and coins, bought in the app. A Standard question costs 1 coin, a Premium question 8, and a check 2. New accounts get a few coins once.
  • Your coins come back if an answer fails or the book has nothing to answer from.
  • We don't run Ibrah for profit. A coin's price covers the AI, the stores' fee and our server, with a small reserve.

Signing in, with an email code, Google or Apple, also backs up your reading position, chapters read, bookmarks, settings, feedback and chats, and syncs them to your other phones.

Ibrah has volumes 1 to 10 of the book's twenty so far. Each new volume has to be translated, mapped and tested before it goes in, and we'll keep adding them: the history from the killing of Ali onwards, then the trials and the signs of the Hour.

What we hope for

We hope Ibrah is useful to anyone who wants to know these stories, not only to people who can buy a twenty-volume set. Reading it is free, the translation sits beside the Arabic, and a question finds its pages without anyone leafing through the volumes. We'd like it to widen what its readers know of the prophets and the people who came after them.

Most of all, we hope parents and teachers use it as we do: to tell these stories to the next generation, with the page to show where each one comes from.

The book's Arabic text comes from the OpenITI corpus, and the Quran text from Tanzil.net; Settings lists every source and licence. See the Ibrah privacy policy, and Ibrah support for help and answers.