Mishkat al-Masabih
Book 30, Hadith 133
وَعَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ عَلَى حِرَاءٍ هُوَ وَأَبُو بَكْرٍ وَعُمَرُ وَعُثْمَانُ وَعَلِيٌّ وَطَلْحَةُ وَالزُّبَيْرُ فَتَحَرَّكَتِ الصَّخْرَةُ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «اهْدَأْ فَمَا عَلَيْكَ إِلَّا نَبِيٌّ أَوْ صِدِّيقٌ أَوْ شَهِيدٌ» . وَزَادَ بَعْضُهُمْ: وَسَعْدُ بْنُ أَبِي وَقَّاصٍ وَلَمْ يَذْكُرْ عَلِيًّا. رَوَاهُ مُسلم
Abu Hurayra reported that the Messenger of Allah ﷺ was on Mount Hira with Abu Bakr, ʿUmar, ʿUthman, ʿAli, Talha, and al-Zubayr. The rock moved, and the Messenger of Allah ﷺ said: ‘Be still; upon you are only a prophet, a steadfast confirmer of truth, or a martyr.’ Some narrators added Saʿd ibn Abi Waqqas and did not mention ʿAli. Muslim transmitted it.