عَنِ ابْنِ عَبَّاسٍ قَالَ دَخَلَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ الْكَعْبَةَ وَفِيهَا سِتُّ سَوَارٍ فَقَامَ عِنْدَ كُلِّ سَارِيَةٍ وَلَمْ يُصَلِّ
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) entered the Ka'bah. There were six pillars inside it. He went to each pillar and stood by it, but did not perform prayer.