Jabir b. Abdullah Ansari said: We were standing with the Messenger of Allah (s.a.w.a.) next to the Kaaba when we saw Ali b. Abi Talib (a.s.) coming toward us.

The Messenger of Allah (s.a.w.a.) said: “My brother is coming toward us.”

The Prophet (s.a.w.a.) faced the Kaaba and struck it with his hand and said: I swear to the one who has my life in His hand that Ali and his Shia are the winners on the Day of Judgement. Ali was the first to believe in me; Ali is the most loyal to Allah; Ali is the most committed to following the orders of Allah; Ali is the most just with his people; Ali is the fairest divider; and Ali has the highest status in Allah’s eyes.

Then the following verse was revealed, “Verily. Those who believe and do good deeds are the best created beings” (Surah Bayyinah (98):7).

Jabir b. Abdullah Ansari continued: “After this incident, every time the companions of the Prophet (s.a.w.a.) would see Ali b. Abi Talib (a.s.) approaching them, they would say, ‘The best creation is coming.”
Al-Amaali vol 1 pg 257