أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا حَمَّادٌ، عَنْ عَمْرٍو، أَنَّ ابْنَ عَبَّاسٍ، قَالَ لَمْ يُصَلِّ النَّبِيُّ صلى الله عليه وسلم فِي الْكَعْبَةِ وَلَكِنَّهُ كَبَّرَ فِي نَوَاحِيهِ ‏.‏

It was narrated that Ibn Abbas said: "The Prophet did not pray inside the Kabah, but he recited the Takbir in its corners." (Sahih)Chatper 131. Dhikr And Supplication Inside The House Translation Not Available

Book Ref: Sunan An Nisai Book 24 Hadith 2913
Web Ref:  Sunan An Nisai Vol 3 Book 24 Hadith 2916