عَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا أَنَّهُ سَأَلَ بِلَالًا هَلْ صَلَّى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فِي الْكَعْبَةِ؟ قَالَ: نَعَمْ، رَكَعَ رَكْعَتَيْنِ بَيْنَ السَّارِيَتَيْنِ
It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with him): that he asked Bilal (may Allah be pleased with him): Did the Messenger of Allah (peace and blessings be upon him) pray inside the Ka'bah? He replied: Yes, he prayed two rak'ahs between two pillars.