BUKHARI 2897:
from Abū Saʿīd al-Khudrī —
The Prophet ﷺ said, "A time will come when groups of people will go for Jihad and it will be asked, 'Is there anyone amongst you who has enjoyed the company of the Prophet?' The answer will be, 'Yes.' Then they will be given victory (by Allah) (because of him). Then a time will come when it will be asked. 'Is there anyone amongst you who has enjoyed the company of the companions of the Prophet?' It will be said, 'Yes,' and they will be given victory (by Allah). Then a time will come when it will be said. 'Is there anyone amongst you who has enjoyed the company of the companions of the companions of the Prophet?' It will be said, 'Yes,' and they will be given victory (by Allah).
البخاري ٢٨٩٧:
عن ابو سعيد الخدري —
عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ ؓ عَنِ النَّبِيِّ ﷺ قَالَ يَأْتِي زَمَانٌ يَغْزُو فِئَامٌ مِنَ النَّاسِ فَيُقَالُ فِيكُمْ مَنْ صَحِبَ النَّبِيَّ ﷺ فَيُقَالُ نَعَمْ فَيُفْتَحُ عَلَيْهِ ثُمَّ يَأْتِي زَمَانٌ فَيُقَالُ فِيكُمْ مَنْ صَحِبَ أَصْحَابَ النَّبِيِّ ﷺ فَيُقَالُ نَعَمْ فَيُفْتَحُ ثُمَّ يَأْتِي زَمَانٌ فَيُقَالُ فِيكُمْ مَنْ صَحِبَ صَاحِبَ أَصْحَابِ النَّبِيِّ ﷺ فَيُقَالُ نَعَمْ فَيُفْتَحُ
hadithunlocked.com