On opening his eyes after his birth the first person that he saw was the Holy Prophet. The Holy Prophet named him. As an infant he had the honor of sucking the tongue of the Holy Prophet. He was the first cousin of the Holy Prophet. He became a ward of the Holy Prophet, and was brought up as a family member of the household of the Holy Prophet. He received his training under the loving care and guidance of the Holy Prophet.
When the Holy Prophet declared his mission, Ali was the first teenager to be converted to Islam. Khadija and Ali were the first two persons to pray after the Holy Prophet. When the Holy Prophet invited the Hashimites to a dinner and asked them to aid him in his mission, Ali was the only person to respond to the call of the Holy Prophet. He risked his life for the sake of the Holy Prophet and slept on his bed when the Holy Prophet left for Madina, and the Quraish youth besieged the house with a view to killing the Holy Prophet. When the Holy Prophet left for Madina he entrusted to Ali the task to return the belongings of the people to them which they had placed in the custody of the Holy Prophet. When the Holy Prophet joined the Muhajjirs and the Ansars in fraternity in Madina, he allied himself in fraternity with Ali. The Holy Prophet married his beloved daughter Fatima Zahra to Ali. He was commissioned by the Holy Prophet to write the agreement which came to be known as the Hudaibia Pact. After the conquest of Makkah he had the unique distinction of standing on the shoulders of the Holy Prophet and destroying the idols in the Kaaba. He was entrusted by the Holy Prophet with the special mission of announcing the Quranic Surah "Al Bara'at" (Immunity) to the people on the occasion of the pilgrimage. He was the only person to whom the Holy Prophet referred to as the Maula' of the Ummah. When the Holy Prophet proposed "Mubahala" with the Christians of Najran, he chose Ali as his "second man". The progeny of the Holy Prophet descends through Ali. He was the only person to whom the Holy Prophet imparted "inward knowledge". The Holy Prophet conferred many appellations on Ali such as Haidar-i-Karrar, Abu Turab, Asad-ullah, Syedul Arab etc. The Holy Prophet declared his relationship to Ali as those of Moses and Aaron. When the Holy Prophet died, Ali washed him and prepared his dead body for burial.