Ibn Abbas (Allah be pleased with them) reported that Allah's Apostle ﷺ entered the Ka'ba, and in it there were six pillars, and he stood near a pillar and made supplication, but did not observe the prayer.
أَنَّ النَّبِيَّ ﷺ دَخَلَ الْكَعْبَةَ وَفِيهَا سِتُّ سَوَارٍ فَقَامَ عِنْدَ سَارِيَةٍ فَدَعَا وَلَمْ يُصَلِّ