"The Prophet performed Salat in the interior of the Ka'bah." And Ibn Abbas said: "He did not perform Salat in it, but he said the Takbir."
Jami` at-Tirmidhi Book 9, Hadith 67