صحيح البخاري Sahih Bukhari كتاب الحج The Book of Hajj
بَابُ الصَّلاَةِ فِي الْكَعْبَةِ:

(52) Chapter. Offering As-Salat (the prayers) inside the Kabah.

1 hadith
Hadith 1599
حَدَّثَنَا أَحْمَدُ بْنُ مُحَمَّدٍ ، أَخْبَرَنَا عَبْدُ اللَّهِ ، أَخْبَرَنَا مُوسَى بْنُ عُقْبَةَ ، عَنْ نَافِعٍ ، عَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا ، " أَنَّهُ كَانَ إِذَا دَخَلَ الْكَعْبَةَ مَشَى قِبَلَ الْوَجْهِ حِينَ يَدْخُلُ وَيَجْعَلُ الْبَابَ قِبَلَ الظَّهْرِ يَمْشِي ، حَتَّى يَكُونَ بَيْنَهُ وَبَيْنَ الْجِدَارِ الَّذِي قِبَلَ وَجْهِهِ قَرِيبًا مِنْ ثَلَاثِ أَذْرُعٍ فَيُصَلِّي يَتَوَخَّى الْمَكَانَ الَّذِي أَخْبَرَهُ بِلَالٌ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ صَلَّى فِيهِ ، وَلَيْسَ عَلَى أَحَدٍ بَأْسٌ أَنْ يُصَلِّيَ فِي أَيِّ نَوَاحِي الْبَيْتِ شَاءَ " .
Narrated Nafi`: Whenever Ibn `Umar entered the Ka`ba he used to walk straight keeping the door at his back on entering, and used to proceed on till about three cubits from the wall in front of him, and then he would offer the prayer there aiming at the place where Allah's Apostle prayed, as Bilal had told him. There is no harm for any person to offer the prayer at any place inside the Ka`ba.
Hadith Reference Sahih Bukhari / The Book of Hajj / Hadith: 1599
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة