Hadith 1115:18
Waki’ narrated to us, from Hisham ibn Sa’d, from Nafi’, from Ibn Umar, who said: I asked Bilal: "Where did the Messenger of Allah (peace and blessings of Allah be upon him) pray when he entered the Kaaba?" He said: "He was between him and the wall [a distance of] three cubits."
حدثنا وكيع، عن هشام بن سعد، عن نافع، عن ابن عمر، قال: سألت بلالا: أين صلى رسول الله صلى الله عليه وسلم حين دخل الكعبة؟ قال: " كان بينه وبين الجدار ثلاثة أذرع "