Hadith
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا حَمَّادٌ، عَنْ عَمْرٍو، أَنَّ ابْنَ عَبَّاسٍ، قَالَ لَمْ يُصَلِّ النَّبِيُّ صلى الله عليه وسلم فِي الْكَعْبَةِ وَلَكِنَّهُ كَبَّرَ فِي نَوَاحِيهِ .
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
Sahih · Abu Ghuddah
Sunan an-Nasa'i 2913 ·Book 24, Hadith 296·Also available on sunnah.com·