In “Siyar A’laam an-Nubalaa” (13/547), adh-Dhahabee narrated that Aboo Muhammad ‘Abdullaah bin Muhammad – the father of the famous Spanish scholar Ibn al-‘Arabee – said:
“Ibn Hazm related to me the reason he began studying Fiqh.
He was once at a funeral prayer. So he entered the mosque, and sat down without praying. A man then said to him: ‘Get up and pray Tahiyyat al-Masjid,’
and he was 26
at the time.
Ibn Hazm himself said:
‘So I got up and prayed. When we returned from the janazah, I entered the mosque, and prayed before sitting down. It was then said to me: ‘Sit down, sit down. This is not a time to pray,’ as it was after the time of ‘Asr. So I walked away while I was very sad. I went to my teacher who had nurtured me, and said: ‘Direct me to the house of the scholar Aboo ‘Abdillaah bin Dahhun.’ So I went to him, told him of what had happened, and he directed me to “al-Muwatta” of Maalik. So I began studying it at his hands, and continued studying it with him and others for a period of three years. After this, I began debating with the people.’”
After mentioning this story, adh-Dhahabee then goes on to list almost 80 books
that Ibn Hazm had written during his lifetime, the largest being “al-Isal ila Fahm Kitaab al-Khisal”, which is a longer version of the more well-known “al-Muhalla”, and is over 15,000 pages long!
Considering that Ibn Hazm began studying Islaam at 26, and died at the age of 71, this meant that he wrote an average of two books per year
– and this is just in terms of the books whose titles we know of, as he had written over 300 other books that were burned up by the ruler of the time, al-Mu’tadid.
It is quite interesting that such a tremendously influential scholar, with so many brilliant works, was driven to study the Deen because of this single incident.