Sahih Bukhari – Hadith No : 2975

Narrated Salama bin Al-Akwa: Ali remained behind the Prophet during the battle of Khaibar as he way suffering from some eye trouble but then he said, “How should I stay behind Allah’s Apostle?” So, he set out till he joined the Prophet. On the eve of the day of the conquest of Khaibar, Allah’s Apostle said, “(No doubt) I will give the flag or, tomorrow, a man whom Allah and His Apostle love or who loves Allah and His apostle will take the flag. Allah will bestow victory upon him.” Suddenly ‘Ali joined us though we were not expecting him. The people said, “Here is ‘Ali. “So, Allah’s Apostle gave the flag to him and Allah bestowed victory upon him.

Hadith In Arabic Text :

حدثنا قتيبة، حدثنا حاتم بن إسماعيل، عن يزيد بن أبي عبيد، عن سلمة بن الأكوع رضى الله عنه قال كان علي رضى الله عنه تخلف عن النبي صلى الله عليه وسلم في خيبر، وكان به رمد، فقال أنا أتخلف عن رسول الله صلى الله عليه وسلم فخرج علي فلحق بالنبي صلى الله عليه وسلم، فلما كان مساء الليلة التي فتحها في صباحها، فقال رسول الله صلى الله عليه وسلم ‏”‏ لأعطين الراية أو قال ليأخذن غدا رجل يحبه الله ورسوله أو قال يحب الله ورسوله يفتح الله عليه ‏”‏‏.‏ فإذا نحن بعلي، وما نرجوه، فقالوا هذا علي، فأعطاه رسول الله صلى الله عليه وسلم، ففتح الله عليه‏.‏

Chapter : Fighting for the Cause of Allah (Jihaad) – كتاب الجهاد والسير