Sahih Bukhari – Hadith No : 3696

Narrated Abu Bakr: I said to the Prophet while I was in the Cave. “If any of them should look under his feet, he would see us.” He said, “O Abu Bakr! What do you think of two (persons) the third of whom is Allah?”

Hadith In Arabic Text :

حدثنا محمد بن سنان، حدثنا همام، عن ثابت، عن أنس، عن أبي بكر رضى الله عنه قال قلت للنبي صلى الله عليه وسلم وأنا في الغار لو أن أحدهم نظر تحت قدميه لأبصرنا‏.‏ فقال ‏”‏ ما ظنك يا أبا بكر باثنين الله ثالثهما ‏”‏‏.‏

Chapter : Companions of the Prophet – كتاب فضائل أصحاب النبى صلى الله عليه وسلم