Abu Bakr reported,

I was with the Prophet ﷺ in the cave when I raised my head and saw the feet of the pursuers above us. I said, "Prophet of Allah, if any one of them were to lower his gaze, he would see us."He replied, "Be silent, Abu Bakr. We are two, and Allah is the third."

Bukhari 3922

Sahih

حدثنا موسى بن إسماعيل حدثنا همام عن ثابت عن أنس

عن أبي بكر رضي الله عنه قال

كنت مع النبي ﷺ في الغار فرفعت رأسي فإذا أنا بأقدام القوم فقلت يا نبي الله لو أن بعضهم طأطأ بصره رآنا قال اسكت يا أبا بكر اثنان الله ثالثهما

البخاري 3922صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the Ansar
Chapter
Migration of the Prophet ﷺ and his companions to Madinah
Numbering
Darussalam 3922
Bukhari 3922