BUKHARI 3649:
from Abū Saʿīd al-Khudrī —
"Messenger of Allah ﷺ said, "A time will come upon the people, when a group of people will wage a holy war and it will be said, 'Is there amongst you anyone who has accompanied Messenger of Allah ﷺ?' They will say, 'Yes.' And so victory will be bestowed on them. Then a time will come upon the people when a group of people will wage a holy war, and it will be said, "Is there amongst you anynone who has accompanied the companions of Messenger of Allah ﷺ?' They will say, 'Yes.' And so victory will be bestowed on them. Then a time will come upon the people when a group of people will wage a holy war, and it will be said, "Is there amongst you anyone who has been in the company of the companions of the companions of Messenger of Allah ﷺ ?' They will say, 'Yes.' And victory will be bestowed on them."
البخاري ٣٦٤٩:
عن ابو سعيد الخدري —
قَالَ رَسُولُ اللَّهِ ﷺ يَأْتِي عَلَى النَّاسِ زَمَانٌ فَيَغْزُو فِئَامٌ مِنَ النَّاسِ فَيَقُولُونَ فِيكُمْ مَنْ صَاحَبَ رَسُولَ اللَّهِ ﷺ فَيَقُولُونَ نَعَمْ فَيُفْتَحُ لَهُمْ ثُمَّ يَأْتِي عَلَى النَّاسِ زَمَانٌ فَيَغْزُو فِئَامٌ مِنَ النَّاسِ فَيُقَالُ هَلْ فِيكُمْ مَنْ صَاحَبَ أَصْحَابَ رَسُولِ اللَّهِ ﷺ فَيَقُولُونَ نَعَمْ فَيُفْتَحُ لَهُمْ ثُمَّ يَأْتِي عَلَى النَّاسِ زَمَانٌ فَيَغْزُو فِئَامٌ مِنَ النَّاسِ فَيُقَالُ هَلْ فِيكُمْ مَنْ صَاحَبَ مَنْ صَاحَبَ أَصْحَابَ رَسُولِ اللَّهِ ﷺ فَيَقُولُونَ نَعَمْ فَيُفْتَحُ لَهُمْ
hadithunlocked.com