Sahih al-Bukhari 4209
Abdullah bin Maslamah (Qa'nabi) narrated to us that Hatim (bin Isma'il) told us. He narrated from Yazid bin Abi Ubaid, he from Hazrat Salamah (bin Akwa') (ra). He said: Hazrat Ali (ra) had stayed behind the Prophet (saw) in the battle of Khaibar because his eyes were sore. He said: Should I stay behind the Prophet (saw)? (How can that be.) Eventually he joined the Holy Prophet (saw). When we spent the night on whose morning Khaibar was conquered, he (saw) said (that night): “Tomorrow I will give the standard to the man”, or (he said:) “the flag will be taken up by the man whom Allah and His Messenger love. Khaibar will be conquered at his hands.” (Hearing this) all of us began to hope for it. The people said to him: Here is Ali (ra), he has arrived. Then he (saw) gave the flag to him, and Khaibar was conquered at his hands.
AI-translated by Islam-Today