Somebody came to the house of Ibn ʿUmar and told him that Messenger of Allah ﷺs had entered the Kaʿba. Ibn ʿUmar said, "I went in front of the Kaʿba and found that Messenger of Allah ﷺ had come out of the Kaʿba and I saw Bilal standing by the side of the gate of the Kaʿba. I said, 'O Bilal! Has Allah's Apostle ﷺ prayed inside the Kaʿba?' Bilal replied in the affirmative. I said, 'Where (did he pray)?' He replied, '(He prayed) Between these two pillars and then he came out and offered a two rakʿat prayer in front of the Kaʿba.' " Abu ʿAbdullah said: Abu Huraira said, "The Prophet ﷺ advised me to offer two rakʿat of Duha prayer (prayer to be offered after sunrise and before midday). " Itban (bin Malik) said, "Messenger of Allah ﷺ and Abu Bakr, came to me after sunrise and we aligned behind the Prophet ﷺ and offered two rakʿat."
سَمِعْتُ مُجَاهِدًا يَقُولُ أُتِيَ ابْنُ عُمَرَ ؓ فِي مَنْزِلِهِ فَقِيلَ لَهُ هَذَا رَسُولُ اللَّهِ ﷺ قَدْ دَخَلَ الْكَعْبَةَ قَالَ فَأَقْبَلْتُ فَأَجِدُ رَسُولَ اللَّهِ ﷺ قَدْ خَرَجَ وَأَجِدُ بِلاَلاً عِنْدَ الْبَابِ قَائِمًا فَقُلْتُ يَا بِلاَلُ صَلَّى رَسُولُ اللَّهِ ﷺ فِي الْكَعْبَةِ قَالَ نَعَمْ قُلْتُ فَأَيْنَ قَالَ بَيْنَ هَاتَيْنِ الأُسْطُوَانَتَيْنِ ثُمَّ خَرَجَ فَصَلَّى رَكْعَتَيْنِ فِي وَجْهِ الْكَعْبَةِ قَالَ أَبُو عَبْدِ اللَّهِ قَالَ أَبُو هُرَيْرَةَ ؓ أَوْصَانِي النَّبِيُّ ﷺ بِرَكْعَتَىِ الضُّحَى وَقَالَ عِتْبَانُ غَدَا عَلَىَّ رَسُولُ اللَّهِ ﷺ وَأَبُو بَكْرٍ ؓ بَعْدَ مَا امْتَدَّ النَّهَارُ وَصَفَفْنَا وَرَاءَهُ فَرَكَعَ رَكْعَتَيْنِ