Muslim sources, especially Shi'a anes, state that durin Muhammad's time, Ali wis the anerlie body born in the Kaaba sanctuary in Mecca, the holiest place in Islam.[5] His faither wis Abu Talib ibn Abd al-Muttalib an his mither wis Fatima bint Asad,[5] but he wis raised in the hoosehauld o Muhammad, who hissel wis raised bi Abu Talib, Muhammad's uncle. When Muhammad reportit receivin a divine revelation, Ali wis the first male tae accept his message, dedicatin his life tae the cause of Islam.[2][6][7][8]

Ali migratit tae Medina shortly efter Muhammad did. Ance there Muhammad tauld Ali that God haed ordered Muhammad tae give his dochter, Fatimah, tae Ali in marriage.[5] For the ten years that Muhammad led the community in Medina, Ali wis extremely active in his service, leadin pairties o warriors on battles, an carryin messages an orders. Ali teuk pairt in the early caravan raids frae Mecca an later in amaist aw the battles fought bi the nascent Muslim community.