Abu Hurairah reported,

The Messenger of Allah ﷺ was on Mount Hira along with Abu Bakr and 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."

Muslim 6247

Sahih

و حدثنا قتيبة بن سعيد حدثنا عبد العزيز يعني ابن محمد عن سهيل عن أبيه

عن أبي هريرة

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

مسلم 6247صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Companions, may Allah be pleased with them
Chapter
From the virtues of Talha and Zubayr, may Allah be pleased with them
Numbering
Darussalam 6247
Muslim 6247