Madan bin Abu Talha reported,

Umar bin Khattab delivered a sermon on Friday in which he mentioned the Prophet ﷺ and mentioned Abu Bakr. He said, "I saw in a dream as though a rooster pecked me three times, and I do not interpret it except as the approach of my death. Some people are urging me to appoint a successor, but Allah will not allow His religion, His caliphate, or that with which He sent His Prophet ﷺ to be lost. If something befalls me suddenly, the caliphate shall be decided by consultation among these six men with whom the Messenger of Allah ﷺ was pleased when he died. I know that some people will challenge this matter, the very people whom I struck with this hand of mine to bring them into Islam. If they do so, then they are the enemies of Allah, the disbelievers, the misguided ones."

Azami 7701

Sahih

عن معدان بن أبي طلحة

أن عمر بن الخطاب خطب يوم الجمعة فذكر نبي ﷺ، وذكر أبا بكر، قال: إني رأيت كأن ديكا نقرني ثلاث نقرات، وإني لا أراه إلا حضور أجلي، وإن أقواما يأمرونني أن أستخلف، وإن الله لم يكن ليضيع دينه ولا خلافته، ولا الذي بعث به نبيه ﷺ، فإن عجل بي أمر، فالخلافة شورى بين هؤلاء الستة الذين توفي رسول الله ﷺ وهو عنهم راض، وإني قد علمت أن أقواما يطعنون في هذا الأمر، أنا ضربتهم بيدي هذه على الإسلام، فإن فعلوا ذلك فأولئك أعداء الله الكفرة الضلال.

الأعظمي 7701صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Leadership
Section
There is no specific method for appointing a successor
Numbering
Jami al-Kamil 7701 (2nd edition)
Azami 7701