Abdullah bin Abbas reported,

Fadl bin Abbas reported that he entered the House along with the Prophet ﷺ, and that the Prophet ﷺ did not pray inside the House when he entered it. However, when he came out and stepped down, he performed two units of prayer at the door of the Kaabah.

Azami 5312

Sahih

عن ابن عباس، قال

إن الفضل بن عباس أخبره أنه دخل مع النبي ﷺ البيت وأن النبي ﷺ لم يصل في البيت حين دخله، ولكنه لما خرج فنزل، ركع ركعتين عند باب الكعبة.

الأعظمي 5312صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Description of the Hajj of the Prophet ﷺ as narrated by Jabir and others, and the rulings mentioned therein
Section
Those who said the Prophet ﷺ did not pray in the Kaaba
Numbering
Jami al-Kamil 5312 (2nd edition)
Azami 5312