Ali ibn Abi Talib: The Imam, Caliph, and Divinely Appointed Successor of the Prophet
Ali ibn Abi Talib (c. 600–661 CE) was one of the most important figures in the history of early Islam. He was the cousin and son-in-law of the Prophet Muhammad, the fourth caliph in Sunni historical tradition, and, in Twelver Shi'a Islam, the first Imam and divinely appointed successor of the Prophet. He was also the father of Hasan and Husayn and a central figure of the Prophet's family, the Ahl al-Bayt.
Imam Ali is remembered for his courage, eloquence, learning, devotion, and concern for justice. His life combined religious scholarship with political leadership, military experience, judicial reasoning and an enduring tradition of wisdom.
Basic biography
| Name | ʿAlī ibn Abī Ṭālib |
| Father | Abū Ṭālib ibn ʿAbd al-Muṭṭalib |
| Mother | Fāṭima bint Asad |
| Born | Traditionally 13 Rajab c. 23 BH, around 600 CE |
| Birthplace | Mecca; Shi'a tradition particularly emphasizes his birth inside the Kaaba |
| Kunyas | Abū al-Ḥasan; Abū Turāb |
| Famous titles | Amīr al-Muʾminīn, Asad Allāh, Ḥaydar, al-Murtaḍā |
| Caliphate | 35–40 AH / 656–661 CE |
| Death | Traditionally 21 Ramadan 40 AH, around 661 CE |
| Burial place | Najaf, Iraq, traditionally near Kufa |
| First wife | Fāṭima al-Zahrāʾ, daughter of the Prophet Muhammad |
Encyclopaedia Iranica dates Ali's birth approximately to 600 CE and his death to 661 CE, describing him as the cousin and son-in-law of Muhammad, the first Shi'a Imam and the fourth caliph. (Iranica Online)
His birth in the Kaaba
The statement that Ali was born inside the Kaaba is particularly important in Shi'a tradition and is also found in a number of later Sunni historical and biographical works. Shi'a sources traditionally give his birth as 13 Rajab in the 30th year of the Year of the Elephant, corresponding approximately to 600 CE rather than 601 CE. (Al-Islam.org)
Therefore, for a historically cautious article, it is better to write:
“According to traditional accounts, Ali was born on 13 Rajab, around 600 CE, and Shi'a sources identify the Kaaba in Mecca as his birthplace.”
This is preferable to stating 601 CE as an uncontested fact.
His names and titles
Ali was known by several names and honorific titles.
Abū al-Ḥasan was his famous kunya, referring to his son Hasan. Abū Turāb, meaning “Father of Dust,” is another well-known kunya associated with him.
Among his famous titles are:
Amīr al-Muʾminīn — Commander of the Faithful
Asad Allāh — Lion of God
Ḥaydar — Lion
al-Murtaḍā — the Chosen or One with whom God is pleased
Walī Allāh — Friend/Guardian of God, a title particularly prominent in Shi'a devotional tradition
The title Amīr al-Muʾminīn is important historically because it became closely associated with the caliphate, while in Shi'a Islam it also has a particular theological significance as a title of Imam Ali.
Ali and the Prophet Muhammad
Ali grew up in the household of Muhammad during his youth. According to early Islamic tradition, when Abū Ṭālib experienced financial difficulties, Muhammad took responsibility for Ali's upbringing.
Ali subsequently became one of the earliest followers of Muhammad. Encyclopaedia Iranica notes that Ali was about ten years old when Muhammad began his prophetic mission and that he became one of his earliest followers. (Iranica Online)
He remained exceptionally close to the Prophet throughout Muhammad's life.
One of the best-known episodes concerning Ali occurred during the migration from Mecca to Medina. According to Islamic tradition, Ali slept in Muhammad's bed when the Prophet left Mecca, thereby helping to conceal Muhammad's departure. A recent Shafaqna article likewise recounts this episode as Laylat al-Mabīt, while connecting it with Qur'an 2:207. (Shafaqna)
Ali and Fāṭima al-Zahrāʾ
Ali married Fāṭima al-Zahrāʾ, the daughter of the Prophet Muhammad and Khadīja.
Their marriage produced several children, most famously:
al-Ḥasan ibn ʿAlī
al-Ḥusayn ibn ʿAlī
Zaynab
Umm Kulthūm
Hasan and Husayn became particularly important in Islamic history. Hasan became the second Imam in Twelver Shi'a tradition, while Husayn's death at Karbala in 680 CE became one of the defining events of Shi'a religious memory. (Iranica Online)
Ali had other children from later marriages as well. Among the best known are al-ʿAbbās ibn ʿAlī, commonly known as Abū al-Faḍl al-ʿAbbās, and Muḥammad ibn al-Ḥanafiyya.
This corrects an important point in the original biography: Abbas and Muhammad ibn al-Hanafiyya were not children of Fāṭima al-Zahrāʾ. They were Ali's sons from other mothers.
Ali's descendants were numerous. Encyclopaedia Iranica notes traditions describing Ali as having children from several wives and concubines, with Hasan, Husayn, Muhammad ibn al-Hanafiyya and Abbas among the most prominent names in genealogical tradition. (Iranica Online)
Ali as Caliph
After the assassination of the third caliph, ʿUthmān ibn ʿAffān, Ali was chosen as caliph in Medina in 35 AH / 656 CE.
The original dates of 36–40 AH are therefore better corrected to:
Caliphate: 35–40 AH / 656–661 CE
Encyclopaedia Iranica gives Ali's caliphate as 35–40 AH, approximately 656–661 CE. (Iranica Online)
His caliphate was one of the most turbulent periods in early Islamic history. Political divisions led to the battles of Jamal, Ṣiffīn, and Nahrawān. Ali eventually established his political center at Kufa in Iraq.
His rule is particularly remembered in Islamic literature for questions of justice, administration, governance and the moral responsibilities of rulers.
Ali's justice and wisdom
Ali's reputation as a judge and statesman became an important part of both Sunni and Shi'a literary traditions.
He was not remembered merely as a warrior. His sermons, letters, judgments and aphorisms portray a leader concerned with justice, responsibility, poverty, government, morality and the proper treatment of subjects.
This is one reason Ali's intellectual legacy extends well beyond military history.
His famous collection of sermons, letters and sayings, Nahj al-Balāgha, is particularly important in Shi'a intellectual tradition.
An important historical correction, however, is necessary:
Nahj al-Balāgha was not a book written by Ali himself.
It is a compilation of material attributed to Ali, assembled centuries later by al-Sharīf al-Raḍī around 400 AH / 1009–1010 CE. It contains sermons, letters and sayings attributed to Ali. (thaqalayn.net)
The authenticity of individual passages has been discussed by Muslim scholars and modern academics because al-Raḍī generally did not provide complete chains of transmission for the material he collected. Some passages, however, can be found in sources that predate al-Raḍī. (Al-Islam.org)
Thus, instead of saying “his book was Nahj al-Balagha,” it is more accurate to say:
“The most famous compilation of sermons, letters and sayings attributed to Ali is Nahj al-Balāgha, compiled by al-Sharīf al-Raḍī.”
The Intellectual Legacy of Imam Ali
Ali was renowned in Islamic tradition for his knowledge, wisdom, eloquence, judgment, and intellectual depth. His reputation extended far beyond the battlefield. He was remembered as a scholar, jurist, judge, statesman, teacher, and authoritative interpreter of religious matters.His intellectual legacy encompasses subjects such as religion, law, ethics, theology, governance, human conduct, and practical judgment. Later Islamic literature also attributes to him insights and remarkable answers concerning mathematics, medicine, astronomy, agriculture, and other fields.
This broad intellectual reputation has led some modern writers to describe Ali as a polymath. The term is useful as a modern description of the extraordinary breadth of knowledge traditionally associated with him, but it should not be understood to mean that Ali was a specialist in modern academic disciplines such as mathematics, psychology, economics, or science.
Ali's intellectual legacy is therefore best understood through his religious learning, legal judgment, wisdom, eloquence, and statesmanship, together with the extensive body of literature that developed around his exceptional knowledge.
The famous “99 parts of knowledge” statement
A famous saying attributed to the Prophet Muhammad describes Ali's exceptional share of knowledge. It is commonly transmitted in forms such as: “Knowledge is divided into ten parts; Ali possesses nine of them and the people possess one.” Other versions use one hundred parts, stating that Ali possessed ninety-nine and the rest of humanity one. The saying is widely circulated in later Islamic literature and devotional tradition concerning Ali. However, its authenticity and chains of transmission are discussed differently in the sources. It is therefore better presented as a famous tradition associated with Ali rather than as an unquestionably authentic prophetic statement. The Holy Prophet used to say, "If I am the city of knowledge, verily Ali is the gate by which people can enter that city." On another occasion the Prophet said, "Of my followers, Ali surpasses all in the possession of knowledge. Wisdom and
knowledge have been divided into ten parts, one part being given to the entire world while Ali alone possesses the other nine." On another occasion, the Prophet remarked, "The relationship of my other companions to Ali in matters of knowledge is that of a single drop to a mighty ocean."
Mathematical Stories and Judgments Attributed to Imam Ali
A number of mathematical problems and judgments are attributed to Ali in Islamic literature. These stories have contributed to his reputation for exceptional intelligence, reasoning, and practical judgment.Some contain elegant and mathematically sound solutions, while the historical attribution of the individual anecdotes varies. They are therefore best presented as traditional reports associated with Imam Ali rather than as independently verified historical events.
1. The inheritance problem
One famous story concerns an inheritance problem involving a deceased person who left a wife, parents and two daughters.
The shares specified in Qur'anic inheritance law can, under the classical Sunni doctrine of ʿawl, produce a total greater than the estate:
Wife: 1/8
Father: 1/6
Mother: 1/6
Two daughters: 2/3
Expressed with denominator 24:
3/24 + 4/24 + 4/24 + 16/24 = 27/24
The prescribed fractions therefore exceed the whole estate.
In the famous anecdote, Imam Ali is said to have answered that the wife's effective share would be one ninth, because her original three shares would become three out of 27.
The mathematical calculation itself is straightforward and illustrates the classical concept of ʿawl, although the precise historical attribution of this particular instant judgment to Ali should be treated cautiously.
There is also an important legal distinction here: Sunni and Shi'a schools developed different approaches to certain inheritance cases involving ʿawl. Therefore, the story should not be presented simply as the universally agreed Islamic law of inheritance. Classical Islamic inheritance law contains significant differences between legal schools.
2. The number 2520
Another popular story says that a Jewish questioner asked Ali for a number divisible by every integer from 1 through 10.
The answer attributed to Ali was:
360 × 7 = 2520
And indeed:
2520 ÷ 1 = 2520
2520 ÷ 2 = 1260
2520 ÷ 3 = 840
2520 ÷ 4 = 630
2520 ÷ 5 = 504
2520 ÷ 6 = 420
2520 ÷ 7 = 360
2520 ÷ 8 = 315
2520 ÷ 9 = 280
2520 ÷ 10 = 252
However, there is a historical problem with the explanation that an “Arab year” contained 360 days. A lunar Hijri year is approximately 354 or 355 days, while 360 was a conventional numerical approximation used in some ancient calendrical contexts.
3. The seventeen camels
This is probably the most famous mathematical story associated with Ali.
A man supposedly left 17 camels to his three sons, instructing that:
the eldest should receive 1/2
the second should receive 1/3
the youngest should receive 1/9
The fractions add up to:
1/2 + 1/3 + 1/9 = 9/18 + 6/18 + 2/18 = 17/18
So the problem is deliberately constructed so that one-eighteenth of the herd remains.
According to the traditional story, Ali temporarily added one of his own camels, making the herd 18.
He then distributed:
1/2 of 18 = 9
1/3 of 18 = 6
1/9 of 18 = 2
The three shares total:
9 + 6 + 2 = 17
Ali could therefore take his camel back.
The story is mathematically elegant and is found in Islamic literature concerning Ali's judgments. But it should still be described as a traditional story attributed to Ali, not as a securely documented historical event.
4. The five loaves of bread
Another famous judgment concerns three travellers.
One man had five loaves, another had three, and a third traveller joined them for the meal.
The eight loaves were divided into 24 equal pieces because each loaf was cut into three pieces.
Each traveller ate eight pieces.
Therefore:
The man with five loaves
Five loaves × 3 pieces = 15 pieces
He ate 8 and therefore gave:
15 − 8 = 7 pieces
to the third traveller.
The man with three loaves
Three loaves × 3 pieces = 9 pieces
He ate 8 and therefore contributed only:
9 − 8 = 1 piece
to the third traveller.
The third traveller therefore received:
7 + 1 = 8 pieces
According to the traditional account, the traveller then gave the two men eight dirhams.
Ali's judgment was that the man with five loaves should receive seven dirhams, while the man with three loaves should receive one dirham.
The reasoning is mathematically sound because the payment corresponds to the amount of bread each man actually contributed to the third traveller. The story is preserved in Islamic literature, including accounts explicitly attributed to Ali's judgments.
Again, however, the mathematics and the historical attribution are two different questions.
5. The “ears inside and outside” story
One popular story says that someone asked Ali which animals lay eggs and which animals gave birth to live young.
The answer attributed to him was that animals with external ears give birth to live young, whereas animals whose ears are internal lay eggs.
This story should not be presented as scientific knowledge possessed by Ali.
The biological claim is not correct as a general rule. There are egg-laying mammals, such as the platypus, and the relationship between external ears and reproduction is not a valid biological classification.
More than a warrior
Imam Ali's intellectual legacy can't be reduced merely to mathematical anecdotes.
His importance in Islamic history rests on much broader foundations: his close relationship with Muhammad, his role in the earliest Muslim community, his military courage, his political leadership, his legal judgments, his sermons and letters, and his place in the history of the Ahl al-Bayt.
The surviving tradition portrays him as a man deeply concerned with the relationship between knowledge and action.
His legacy encompasses questions of:
faith and spirituality
ethics and moral character
justice
government and political responsibility
treatment of the poor
law and judgment
human nature
education and wisdom
courage and self-discipline
military leadership
social responsibility
The famous material preserved in Nahj al-Balāgha particularly emphasizes these themes. The compilation contains sermons, letters and aphorisms attributed to Ali and has had an enormous influence on Islamic rhetoric and Shi'a intellectual thought. (thaqalayn.net)
The martyrdom of Ali
Ali was attacked while praying in the mosque of Kufa during Ramadan in 40 AH / 661 CE.
The attacker was ʿAbd al-Raḥmān ibn Muljam, associated with the Kharijites. According to the traditional accounts, he struck Ali with a poisoned sword.
There is a difference in the traditional dating of Ali's death. Many Shi'a sources commemorate his martyrdom on 21 Ramadan, following the attack on 19 Ramadan. Encyclopaedia Iranica notes that the sources give 19 or 21 Ramadan 40 AH. (Iranica Online)
Thus, a careful article can say:
“Ali was struck with a poisoned sword on 19 Ramadan 40 AH and died two days later, on 21 Ramadan, according to the widely followed Shi'a tradition.”
After his death, his burial place was initially kept secret. His traditional tomb is now located at Najaf al-Ashraf in Iraq, which became one of the most important centers of Shi'a pilgrimage and scholarship. Encyclopaedia Iranica notes that Ali was buried near Kufa and that the tomb was later identified, around which the city of Najaf developed. (Iranica Online)
The legacy of Ali ibn Abi Talib
Ali occupies a unique position in Islamic history.
For Sunni Muslims, he is the fourth of the four Rightly Guided Caliphs and one of the most distinguished Companions of the Prophet.
For Twelver Shi'a Muslims, he is the first Imam and the divinely appointed successor to Muhammad.
Despite differences concerning succession and theology, Ali's importance extends across Islamic civilization. His courage, eloquence, devotion and commitment to justice have inspired generations of Muslims.
His name is associated not only with the battlefield, but also with the pulpit, the courtroom, the mosque, the family and the administration of government.
The mathematical stories attributed to him have become popular examples of his legendary intelligence. Some have elegant mathematical solutions; others are later anecdotes whose historical chains are difficult to establish. They are best appreciated as part of the large body of literature that developed around Ali's reputation for exceptional wisdom rather than all being treated as independently verified historical events.
Ultimately, Ali's most enduring legacy is not a single mathematical trick or a single quotation. It is the image of a leader for whom knowledge, justice, courage and moral responsibility were inseparable.
A note on historical accuracy
For a serious historical article, the following corrections to the original notes are recommended:
Birth year: use c. 600 CE, or “around 600–601 CE,” rather than presenting 601 as certain. The traditional Shi'a date is 13 Rajab, 30 years after the Year of the Elephant. (Al-Islam.org)
Birth in the Kaaba: present it as a traditional account, especially associated with Shi'a sources, although it also appears in other Islamic historical literature. (Al-Islam.org)
Caliphate: 35–40 AH / 656–661 CE, not 36–40 AH. (Iranica Online)
Imamate: “about 30 years” is acceptable as a traditional Shi'a description, but it is better explained as beginning after Muhammad's death in 632 and ending with Ali's death in 661.
Children: Hasan, Husayn, Zaynab and Umm Kulthum were Ali's children with Fāṭima al-Zahrāʾ. Abbas and Muhammad ibn al-Hanafiyya were from other mothers. (Iranica Online)
Nahj al-Balāgha: it is a later compilation of material attributed to Ali, compiled by al-Sharīf al-Raḍī, not a book physically written and published by Ali. (thaqalayn.net)
“99 out of 100 sciences”: this is a popular traditional saying, but its authenticity should not be stated as established without discussing its source and chain.
Mathematical stories: the 17-camel and five-loaf stories are preserved in Islamic literature and have internally coherent mathematical reasoning, but their attribution to Ali should be presented as traditional reports/anecdotes, not as independently proven historical events. (Al-Islam.org)
The animal-ears story: do not present it as scientifically accurate. The biological claim is false as a general rule. (Biology Stack Exchange)
Martyrdom: the attack is traditionally dated to 19 Ramadan 40 AH, with death on 21 Ramadan in the common Shi'a account; historical sources differ on the exact date. (Iranica Online)
In this form, the article can honor Ali's religious and intellectual legacy while clearly separating historical evidence from devotional tradition and popular storytelling.
Name: Ali
Laqab [Titles]: Amir al-Mu-mineen [Commander oft the Faithful], Asadullah [Lion of God], Imam al-Murtadha, Hadhrat Wali-u-llah, Haydar
Kunya [Teknonym]: Aba-l-Hasan, Abu Turab
His father's name: Abi Talib
His mother's name: Fatima bint Assad
Date of birth: 601 AD, 13 Rajab
Place of birth: inside the Holy Ka'aba, Mecca
Period of Khilafah: 36 - 40 AH, 4 years and 9 months
Period of Imamah: 30 years
Known for: his wisdom and justice towards anyone
His book: Nahj al-Balagha
Date of martyrdom: 661 AD, 21st of Holy Month of Ramadan after being hit by a poisoned sword on the 19th of the same Holy Month by Abd-ur-Rahman ibn Muljam
Place of burial: Najaf al-Ashraf, Iraq
His wife: Lady Fatima az-Zahra
His children: Imam al-Hasan, Imam al-Husayn, Lady Zaynab, Abu Fadhl al-Abbas, Muhammad ibn al-Hanafiyyah and others



Comments
Post a Comment