Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:468Abū al-Nuʿmān And Qutaybah > Ḥammād > Ayyūb > Nāfiʿ > Ibn ʿUmar

Ibn ʿUmar said, "The Prophet ﷺ arrived at Mecca and sent for ʿUthman bin Talha. He opened the gate of the Kaʿba and the Prophet, Bilal, Usama bin Zaid and ʿUthman bin Talha entered the Kaʿba and then they closed its door (from inside). They stayed there for an hour, and then came out." Ibn ʿUmar added, "I quickly went to Bilal and asked him (whether the Prophet ﷺ had prayed). Bilal replied, 'He prayed in it.' I asked, 'Where?' He replied, 'Between the two pillars.' "Ibn ʿUmar added, "I forgot to ask how many rakʿat he (the Prophet) had prayed in the Kaʿba."  

البخاري:٤٦٨حَدَّثَنَا أَبُو النُّعْمَانِ وَقُتَيْبَةُ قَالاَ حَدَّثَنَا حَمَّادٌ عَنْ أَيُّوبَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ النَّبِيَّ ﷺ قَدِمَ مَكَّةَ فَدَعَا عُثْمَانَ بْنَ طَلْحَةَ فَفَتَحَ الْبَابَ فَدَخَلَ النَّبِيُّ ﷺ وَبِلاَلٌ وَأُسَامَةُ بْنُ زَيْدٍ وَعُثْمَانُ بْنُ طَلْحَةَ ثُمَّ أُغْلِقَ الْبَابُ فَلَبِثَ فِيهِ سَاعَةً ثُمَّ خَرَجُوا قَالَ ابْنُ عُمَرَ فَبَدَرْتُ فَسَأَلْتُ بِلاَلاً فَقَالَ صَلَّى فِيهِ فَقُلْتُ فِي أَىٍّ قَالَ بَيْنَ الأُسْطُوَانَتَيْنِ قَالَ ابْنُ عُمَرَ فَذَهَبَ عَلَىَّ أَنْ أَسْأَلَهُ كَمْ صَلَّى  


See similar narrations below:

Collected by Muslim
muslim:1329bAbū al-Rabīʿ al-Zahrānī And Qutaybah b. Saʿīd Waʾabū Kāmil al-Jaḥdarī > Ḥammād b. Zayd > Abū Kāmil > Ḥammād > Ayyūb > Nāfiʿ > Ibn ʿUmar

Messenger of Allah ﷺ came on the Day of Victory, and got down in the courtyard of the Ka'ba and he sent (a message) for 'Uthman b. Talha (Allah be pleased with them). He came with the key and opened the door. Allah's Apostle ﷺ then entered therein and Bilal, Usama b. Zaid, and 'Uthman b. Talha (along with him), and then commanded the door to be closed. They stayed there for a considerable time, and then the door was opened, and Abdullah said: I was the first to meet Messenger of Allah. ﷺ. outside (the Ka'ba), and Bilal was close behind him. I said to Bilal: Did Messenger of Allah ﷺ observe prayer therein? He said: Yes. I said: Where? He said: Between the two pillars in front of his face. He said: I forgot to ask him as to the number of rakahs he prayed.  

مسلم:١٣٢٩bحَدَّثَنَا أَبُو الرَّبِيعِ الزَّهْرَانِيُّ وَقُتَيْبَةُ بْنُ سَعِيدٍ وَأَبُو كَامِلٍ الْجَحْدَرِيُّ كُلُّهُمْ عَنْ حَمَّادِ بْنِ زَيْدٍ قَالَ أَبُو كَامِلٍ حَدَّثَنَا حَمَّادٌ حَدَّثَنَا أَيُّوبُ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

قَدِمَ رَسُولُ اللَّهِ ﷺ يَوْمَ الْفَتْحِ فَنَزَلَ بِفِنَاءِ الْكَعْبَةِ وَأَرْسَلَ إِلَى عُثْمَانَ بْنِ طَلْحَةَ فَجَاءَ بِالْمِفْتَحِ فَفَتَحَ الْبَابَ قَالَ ثُمَّ دَخَلَ النَّبِيُّ ﷺ وَبِلاَلٌ وَأُسَامَةُ بْنُ زَيْدٍ وَعُثْمَانُ بْنُ طَلْحَةَ وَأَمَرَ بِالْبَابِ فَأُغْلِقَ فَلَبِثُوا فِيهِ مَلِيًّا ثُمَّ فَتَحَ الْبَابَ فَقَالَ عَبْدُ اللَّهِ فَبَادَرْتُ النَّاسَ فَتَلَقَّيْتُ رَسُولَ اللَّهِ ﷺ خَارِجًا وَبِلاَلٌ عَلَى إِثْرِهِ فَقُلْتُ لِبِلاَلٍ هَلْ صَلَّى فِيهِ رَسُولُ اللَّهِ ﷺ قَالَ نَعَمْ قُلْتُ أَيْنَ قَالَ بَيْنَ الْعَمُودَيْنِ تِلْقَاءَ وَجْهِهِ قَالَ وَنَسِيتُ أَنْ أَسْأَلَهُ كَمْ صَلَّى