Abu Saeed Khudri reported,

The Prophet ﷺ said, "A time will come upon people when a group of them will go out to fight, and it will be asked, 'Is there among you anyone who saw the Messenger of Allah ﷺ?' They will reply, 'Yes,' and victory will be granted to them.Then another group will go out to fight, and it will be asked, 'Is there among you anyone who saw a companion of the Messenger of Allah ﷺ?' They will reply, 'Yes,' and victory will be granted to them.Then another group will go out to fight, and it will be asked, 'Is there among you anyone who saw someone who accompanied a companion of the Messenger of Allah ﷺ?' They will reply, 'Yes,' and victory will be granted to them."

Muslim 6467

Sahih

حدثنا أبو خيثمة زهير بن حرب وأحمد بن عبدة الضبي واللفظ لزهير قالا حدثنا سفيان بن عيينة قال سمع عمرو جابرا يخبر

عن أبي سعيد الخدري

عن النبي ﷺ قال يأتي على الناس زمان يغزو فئام من الناس فيقال لهم فيكم من رأى رسول الله ﷺ فيقولون نعم فيفتح لهم ثم يغزو فئام من الناس فيقال لهم فيكم من رأى من صحب رسول الله ﷺ فيقولون نعم فيفتح لهم ثم يغزو فئام من الناس فيقال لهم هل فيكم من رأى من صحب من صحب رسول الله ﷺ فيقولون نعم فيفتح لهم

مسلم 6467صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Companions, may Allah be pleased with them
Chapter
Virtue of the Companions, then those who follow them, then those who follow them
Numbering
Darussalam 6467
Muslim 6467