Virtues and Merits of the Prophet (pbuh) and his Companions
Bukhari :: Book 4 :: Volume 56 :: Hadith 792
Narrated Abu Said Al-Khudri:
The Prophet said, "A time will come when the people will wage holy war, and it will be asked, 'Is there any amongst you who has enjoyed the company of Allah's Apostle?' They will say: 'Yes.' And then victory will be bestowed upon them. They will wage holy war again, and it will be asked: 'Is there any among you who has enjoyed the company of the companions of Allah's Apostle ?' They will say: 'Yes.' And then victory will be bestowed on them."