It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that he said: "The Messenger of Allah (peace and blessings be upon him) did not pray inside the Ka'bah; rather, when he (peace and blessings be upon him) entered it, he fell down in prostration, then raised his blessed head, then supplicated. Sayyiduna al-Fadl bin Abbas (may Allah be pleased with them both) told me this, and he was with him when he (peace and blessings be upon him) entered."
And Sayyiduna Ibn Abbas (may Allah be pleased with them both) used to say: "I do not like to pray inside it (the Ka'bah), because if I did so, it would be as though I had left part of the qiblah (behind me)."
Only Muhammad bin Salamah narrated this hadith from Muhammad bin Ishaq.
Hadith Referenceالمعجم الأوسط / باب الألف / 1101
Hadith Takhrij«أخرجه مسلم فى «صحيحه» برقم: 1331، وابن خزيمة فى «صحيحه» برقم: 3007، وابن حبان فى «صحيحه» برقم: 3207، وأحمد فى «مسنده» برقم: 1820، 1826، 1844، 1855، 2158، 2878، والطيالسي فى «مسنده» برقم: 2775، وأبو يعلى فى «مسنده» برقم: 2594، 6733، وعبد بن حميد فى «مسنده» برقم: 633، وعبد الرزاق فى «مصنفه» برقم: 9057، وابن أبي شيبة فى «مصنفه» برقم: 15756، والطحاوي فى «شرح معاني الآثار» برقم: 2281، 2280، والطبراني فى «الكبير» برقم: 11339، 11402، 679، 743، 744، 752، والطبراني فى «الأوسط» برقم: 1020»