Abu Hurairah reported,

The Messenger of Allah ﷺ was on Mount Hira along with Abu Bakr, Umar, Uthman, Ali, Talha, and Zubayr when the rock began to shake. The Messenger of Allah ﷺ said, "Be still, for there is none upon you but a prophet, a truthful one, or a martyr."

Azami 10015

Sahih

عن أبي هريرة

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

الأعظمي 10015صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the Companions and reports about them
Chapter
Virtue of groups of the Companions
Section
Virtue of the four caliphs, Talha, and Zubayr
Numbering
Jami al-Kamil 10015 (2nd edition)
Azami 10015