Background and career
Ali ibn Abi Talib (Arabic: عليّ بن أبي طالب, romanized: ʿAlī ibn Abī Ṭālib; c. 600 – c. 28 January 661 CE) was the fourth Rashidun caliph who ruled from 656 CE until his assassination in 661, as well as the first Shia Imam. He was the cousin and son-in-law of the Islamic prophet Muhammad. Born to Abu Talib ibn Abd al-Muttalib and Fatima bint Asad, Ali was raised in the household of his cousin Muhammad and was among the first to accept his teachings. Ali played a pivotal role in the early years of Islam when Muslims were severely persecuted in Mecca. After the immigration (hijra) to Medina in 622, Muhammad gave his daughter Fatima to Ali in marriage and swore a pact of brotherhood with him. Ali served as Muhammad's secretary and deputy in this period, and was the flag-bearer of his army. Numerous sayings of Muhammad praise Ali, the most controversial of which was uttered in 632 at the Ghadir Khumm, "Whoever I am his mawla, then Ali is his mawla." The interpretation of the polysemous Arabic word mawla is disputed: for Shia Muslims, Muhammad thus invested Ali with his religious and political authority, while Sunni Muslims view this as a mere statement of friendship and rapport. When Muhammad died in the same year, a group of Muslims met in the absence of Ali and appointed Abu Bakr (r. 632–634) as their leader. Ali later relinquished his claims to leadership and resigned from public life during the reigns of Abu Bakr and his successor, Umar (r. 634–644). Even though his advice was occasionally sought, the conflicts between Ali and the first two caliphs are epitomized by his refusal to follow their practices. This refusal cost Ali the caliphate to the benefit of Uthman (r. 644–656), who was thus appointed to succeed Umar by the electoral council. Ali was also highly critical of Uthman, who was widely accused of nepotism and corruption. Yet Ali also repeatedly mediated between the caliph and the provincial dissidents angered by his policies. Following Uthman's assassination in 656, Muhammad's companions and the people of Medina urged Ali to assume the leadership and pledged their allegiance to him. After initially hesitating, he eventually accepted and became the fourth Rashidun caliph. His caliphate was confronted by two major rebellions, led by Talha and Zubayr, and Muhammad's widow Aisha, who sought to avenge Uthman's death. They were defeated by Ali at the Battle of the Camel in 656. The second rebellion was led by Mu'awiya, whose forces fought Ali at the inconclusive Battle of Siffin in 657, followed by an arbitration process that alienated a group of Ali's army. They became known as the Kharijites, who rebelled against him and were all crushed by Ali at the Battle of Nahrawan in 658, consequently losing control of Egypt. Ali was assassinated in 661 during the month of Ramadan by the Kharijite dissident Ibn Muljam. He was succeeded by his eldest son, Hasan, who abdicated later that year, paving the way for Mu'awiya to seize power and found the dynastic Umayyad Caliphate. Muslims revere Ali as an example of courage, honesty, devotion to Islam, magnanimity, and equal treatment of all Muslims. For his admirers, he has thus become the archetype of uncorrupted Islam and pre-Islamic chivalry. Sunni Muslims regard him as the last of the rashidun (lit. 'rightly-guided') caliphs, while Shia Muslims venerate him as their first Imam and the rightful religious and political successor to Muhammad. Ali's place is said to be second only to Muhammad in Shia Muslim culture. The shrine of Ali in Najaf, Iraq, is a major destination for Shia pilgrimage. The legacy of Ali is collected and studied in numerous books, the most famous of which is Nahj al-balagha.
Ali was born in tradition to Abu Talib ibn Abd al-Muttalib and his wife Fatima bint Asad around 600 CE, possibly 13 Rajab, which is the occasion celebrated annually by Shia Muslims. Ali may have been also the only person born inside the Ka'ba, the holiest site of Islam, which is located in Mecca. Ali's father was a leading member of the Banu Hashim, a clan within the Meccan tribe of Quraysh. According to tradition, Abu Talib raised his nephew Muhammad, whose parents had died, and later, when Abu Talib fell into poverty, Muhammad became wealthy by marrying Khadija, a rich woman. Therefore, Ali came under the guardianship of Muhammad and his wife Khadija when Ali was about five years old. Aged about eleven, Ali was among the first to accept Muhammad's teachings and profess Islam. Ali did so either after Khadija or after Khadija and Muhammad's successor, Abu Bakr. While the precise order here is debated among Shia and Sunni scholars, the earliest sources place Ali before Abu Bakr. Muhammad's call to Islam in Mecca lasted from 610 to 622, during which Ali assiduously supported the small Muslim community, especially the poor. Some three years after his first revelation, Muhammad gathered his relatives for a feast, invited them to Islam, and asked for their assistance. Aged about fourteen, Ali was the only relative there who offered his support, after which Muhammad told his guests that Ali was his brother and his successor, according to the Sunni historian al-Tabari (d. 923). The Shia interpretation of this episode is that Muhammad had already designated Ali as his successor.
When tipped off about an assassination plot in 622, Muhammad escaped to Yathrib, now known as Medina, but Ali stayed behind as his decoy. The fact that Ali risked his life for Muhammad is said to be the reason for the revelation of the Quranic passage, "But there is also a kind of man who gives his life away to please God." This emigration marks the beginning of the Islamic calendar (AH). Ali also escaped Mecca after returning the goods that had been entrusted to Muhammad there. Later in Medina, Muhammad selected Ali as his brother when he paired Muslims for fraternity pacts. Around 623–625, Muhammad gave his daughter Fatima to Ali in marriage, aged about twenty-two at the time. Muhammad had earlier turned down marriage proposals for Fatima by some of his companions, notably, Abu Bakr and Umar.
A Christian envoy from Najran, located in South Arabia, arrived in Medina circa 632 and negotiated a peace treaty with Muhammad. The envoy also debated with Muhammad the nature of Jesus, human or divine. Linked to this episode is verse 3:61 of the Quran, which instructs Muhammad to challenge his opponents to mubahala (lit. 'mutual cursing'), perhaps when their debate had reached a deadlock. Even though the delegation ultimately withdrew from the challenge, Muhammad appeared for the occasion of mubahala, accompanied by Ali, his wife Fatima, and their two sons, Hasan and Husayn. The inclusion of these four by Muhammad in the mubahala ritual, as his witnesses and guarantors, likely raised their religious rank within the community. If the word 'ourselves' in the verse is a reference to Ali and Muhammad, as Shia authors argue, then the former naturally enjoys a similar religious authority in the Quran as the latter.
In Medina, Ali acted as Muhammad's secretary and deputy. He was also one of the scribes tasked with committing the Quran to writing. In 628, Ali wrote down the terms of the Treaty of al-Hudaybiya, the peace treaty between Muslims and Meccan pagans. In 630, divine orders pushed Muhammad to replace Abu Bakr with Ali for a key Quranic announcement in Mecca, according to the canonical Sunni source Sunan al-Nasa'i. Ali also helped ensure that the Conquest of Mecca in 630 was bloodless and later destroyed the idols housed in Ka'ba. In 631, Ali was sent to preach Islam in Yemen, as a consequence of which the Hamdanids peacefully converted. Ali also peacefully resolved a blood feud between Muslims and the Banu Jadhima.
Ali accompanied Muhammad in all of his military missions except the Expedition of Tabuk in 630, during which Ali was left behind in charge of Medina. The hadith of the position is linked to this occasion, "Are you not content, Ali, to stand to me as Aaron stood to Moses, except that there will be no prophet after me?" This statement appears in the canonical Sunni sources Sahih al-Bukhari and Sahih Muslim, among others. For the Shia, this hadith signifies Ali's usurped right to succeed Muhammad. In the absence of Muhammad, Ali commanded the expedition to Fadak in 628.


