Imran bin Husayn reported,

The Prophet ﷺ said, "I will give the banner to a man who loves Allah and His Messenger," or he said, "whom Allah and His Messenger love." He then called for Ali, who was suffering from sore eyes, and Allah granted victory at his hands.

Azami 9920

Sahih

عن عمران بن حصين

أن النبي ﷺ قال: لأعطين الراية رجلا يحب الله ورسوله- أو قال-: يحبه الله ورسوله. فدعا عليا وهو أرمد، ففتح الله على يديه.

الأعظمي 9920صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the Companions and reports about them
Chapter
Virtues and reports of Ali bin Abu Talib
Section
Prophet's ﷺ glad tidings that Allah would open Khaybar at the hands of Ali, and that Allah and His Messenger love him
Numbering
Jami al-Kamil 9920 (2nd edition)
Azami 9920