BUKHARI 7140:
from Ibn ʿUmar —
Messenger of Allah ﷺ said, "This matter (caliphate) will remain with the Quraish even if only two of them were still existing."
البخاري ٧١٤٠:
عن ابن عمر —
قَالَ رَسُولُ اللَّهِ ﷺ لاَ يَزَالُ الأَمْرُ فِي قُرَيْشٍ مَا بَقِيَ مِنْهُمُ اثْنَانِ