Imam Bukhari’s Memory in the Test of Baghdad

Imam Bukhari, rahimahullah, was tested a few times in his life. One of the early tests, which really showcases the powerful memory that Allah blessed him with, occurred as follows.

While in his twenties, imam Bukhari’s fame spread over much of the Muslim world — something rare in the time before internet, before email, before YouTube, our modern era where news travels almost instantenously.

As he arrived in Baghdad, word of his arrival spread, and the scholars of Baghdad devised a test for imam Bukhari — to prove to the world that he’s not that good.

During that time, to learn ahadith, you travel to the scholars of ahadith, sit in their halaqaat, and listen. They dictate ahadith to you. If a scholar comes from far, he brings exotic ahadith that nobody heard before; all the students (and other scholars) benefit from learning it from him.

Also, as a student of knowledge, someone who studies ahadith for a while, you quickly learn the “usual” or common ahadith that go around; such as the first hadith in Bukhari, that actions are by intentions.

Instead of exotic ahadith, the ten scholars each decide to narrate ten common ahadith each — but with a twist. Instead of narrating the hadith normally, with the chain, they would swap chains of authentic ahadith.

This is a very delicate point of the science. Most of the introduction to the science of hadith deals with features that weaken a hadith, and most of those features have to do with narrators in the chain. In this case, they took 100 authentic ahadith, each with an authentic chain, and transplanted the chain to a different hadith.

On the surface, it appears that they’re honouring imam Bukhari, by inviting him to their circles to learn and teach. But really, they had a more sinsiter motive.

Imam Bukhari arrives. The first scholar steps up and narrates his first hadith with a different chain. Imam Bukhari says, “Maa 3indiy,” (“I don’t have it” or “I don’t know it”). And again for the second hadith. And the third. And all ten.

The students start wondering. Imam Bukhari doesn’t know these basic ahadith?

The second scholar steps up, and the same scene repeats. And the third, and fourth, all the way to the tenth.

At this point, the students are very confused. These are all simple, straight-forward (appearing) ahadith.

Imam Bukhari figured it out. So his turn to speak arrives. He tells the first scholar: “you narrated the first hadith with chain this-and-that. The correct chain is this.” And he corrects the first hadith. And the second. And the tenth; all the way to the last of the 100.

And everyone in the masjid of Baghdad, the key center of learning of ‘ilm at that time, sees this occur in front of them.

Ibn Hajar (rahimahullah) comments: “It’s not surprising that Imam Bukhari saw through their chain-swapping, for he is a master; nor is him knowing the correct isnad that surprising, because he’s memorized these hadith in the past.

“But what’s really interesting is that he memorized the 100 ahadith, with chains, the first time he heard them, and narrated them back in the same order.

It’s very clear that Allah blessed him with a photographic memory.

And thus, imam Bukhari’s popularity and reputation only grew, and he soared through the first test.

What lessons can you extract from this story to apply to your life? Please post a comment and share it with us.


  • Collector’s Edition: Sahih al-Bukhari. By Yasir Qadhi. 2012.

8 thoughts on “Imam Bukhari’s Memory in the Test of Baghdad

  1. Ilm Seeker Post author

    Some lessons I learned from this:

    – Some things are just Allah’s blessing upon you. Be thankful.
    – When you gain fame, even for helping the deen, you will be the target of jealousy and envy, and you will make enemies. Don’t be naive; be prepared.
    – Be strong in your field, like an unshakable mountain. Study, learn, and flourish.

  2. anon

    That memorization is an incredibly valuable gift and an important and effective aspect of learning and absorbing knowledge. It is dismal how memorization is derogatorily dismissed as “parroting” today, and how people are not discouraged from the lazy attitude of “I don’t want to memorize, I’ll just understand it.”

    This is also just a glimpse of the beautiful authenticity that Allah blessed our Deen with in order to preserve for all of humanity till the end of time. I know, because I’ve done wee bit of research into the oral transmissions that have taken place in earlier religions (which are also Divine, but nonetheless not applicable for today, when Islam is the final religion).

  3. Pingback: Imam Bukhari’s Memory in the Test of Baghdad « Imam Bukhari

  4. Bint Khadijah


    First thing i learned is Imam Bikharis Akhlaaq… Even though he knew the correct chains of all the hadiths the scholars narrated, he didn’t correct them while they were reading the hadith, rather he sat and listened until they all finished to speak…. That’s just a quality that’s rarely found nowadays…

    He is very well known for his memorization… Masha’allaah…
    Subhnallaah- All Praise is to Allah
    Allah can give to whomever He wills,,,,…

    We really need someone like Bukhari at this time specially…. (suggestion)

  5. Pingback: A Legend in the Making: Imam Bukhari’s Early Life « Imam Bukhari

  6. Pingback: Imam Bukhari’s Memory in the Test of Baghdad « Imam Bukhari

  7. Akif

    Once imam bukhari was asked what is secret behind your memory.He said “two things they are towards it, 2.thinking more about it

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>