(45) باب هِجْرَةُ النَّبِيِّ صلى الله عليه وسلم وَأَصْحَابِهِ إِلَى الْمَدِينَةِ
Narrated Abu Bakr:
I was with the Prophet (ﷺ) in the Cave. When I raised my head, I saw the feet of the people. I said, "O Allah's Messenger (ﷺ)! If some of them should look down, they will see us." The Prophet (ﷺ) said, "O Abu Bakr, be quiet! (For we are) two and Allah is the Third of us."
Reference: Sahih al-Bukhari 3922
In-book reference: Book 63, Hadith 148
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 5, Book 58, Hadith 259