It is narrated from Sayyiduna Uthman bin Talhah that the Prophet (peace and blessings be upon him) prayed two rak'ahs inside the Ka'bah. According to another chain, he prayed them between the two pillars directly in front upon entering. It is narrated from Sayyiduna Uthman bin Talhah that when the Prophet (peace and blessings be upon him) entered the Ka'bah, he prayed two rak'ahs between the two pillars directly in front.