كتاب فضائل الصحابة رضى الله تعالى عنهم
44  
The Book of the Merits of the Companions
(4)
Chapter: The Virtues Of 'Ali Bin Abi Talib (RA)
(4)
باب مِنْ فَضَائِلِ عَلِيِّ بْنِ أَبِي طَالِبٍ رضى الله عنه ‏‏
Sahih Muslim 2407

Salama b. Akwa' reported that it was 'Ali whom Allah's Apostle (ﷺ) left behind him (in the charge of his family and the Islamic State) on the occasion of the campaign of Khaibar, and his eyes were inflamed and he said:

Is it for me to remain behind Allah's Messenger (ﷺ)? So he went forth and rejoined Allah's Apostle (ﷺ) and on the evening of that night (after which) next morning Allah granted victory. Allah's Messenger (ﷺ) said: I will certainly give this standard to a man whom Allah and His Messenger love. or he said: Who loves Allah or His Messenger and Allah will grant him victory through him, and, lo, we saw 'Ali whom we least expected (to be present on that occasion). They (the Companions) said: Here is 'Ali. Thereupon Allah's Messenger (may peace be upon hin) gave him the standard. Allah granted victory at his hand.
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا حَاتِمٌ، - يَعْنِي ابْنَ إِسْمَاعِيلَ - عَنْ يَزِيدَ بْنِ أَبِي، عُبَيْدٍ عَنْ سَلَمَةَ بْنِ الأَكْوَعِ، قَالَ كَانَ عَلِيٌّ قَدْ تَخَلَّفَ عَنِ النَّبِيِّ صلى الله عليه وسلم فِي خَيْبَرَ وَكَانَ رَمِدًا فَقَالَ أَنَا أَتَخَلَّفُ عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏ فَخَرَجَ عَلِيٌّ فَلَحِقَ بِالنَّبِيِّ صلى الله عليه وسلم فَلَمَّا كَانَ مَسَاءُ اللَّيْلَةِ الَّتِي فَتَحَهَا اللَّهُ فِي صَبَاحِهَا قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ لأُعْطِيَنَّ الرَّايَةَ - أَوْ لَيَأْخُذَنَّ بِالرَّايَةِ - غَدًا رَجُلٌ يُحِبُّهُ اللَّهُ وَرَسُولُهُ أَوْ قَالَ يُحِبُّ اللَّهَ وَرَسُولَهُ يَفْتَحُ اللَّهُ عَلَيْهِ ‏"‏ ‏.‏ فَإِذَا نَحْنُ بِعَلِيٍّ وَمَا نَرْجُوهُ فَقَالُوا هَذَا عَلِيٌّ ‏.‏ فَأَعْطَاهُ رَسُولُ اللَّهِ صلى الله عليه وسلم الرَّايَةَ فَفَتَحَ اللَّهُ عَلَيْهِ ‏.‏
Reference : Sahih Muslim 2407
In-book reference : Book 44, Hadith 54
USC-MSA web (English) reference : Book 31, Hadith 5919
  (deprecated numbering scheme)