Sunan an-Nasā'ī 2913✓ 4Sahih
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا حَمَّادٌ، عَنْ عَمْرٍو، أَنَّ ابْنَ عَبَّاسٍ، قَالَ لَمْ يُصَلِّ النَّبِيُّ صلى الله عليه وسلم فِي الْكَعْبَةِ وَلَكِنَّهُ كَبَّرَ فِي نَوَاحِيهِ .
It was narrated that Ibn Abbas said:"The Prophet did not pray inside the Kabah, but he recited the Takbir in its corners."