It was narrated that Ibn ‘Umar said:“The Messenger of Allah (ﷺ) entered the Ka’bah on the Day of the Conquest (of Makkah), with Bilal and ‘Uthman bin Shaibah, and they locked the door behind them from the inside. When they came out, I asked Bilal: ‘Where did the Messenger of Allah (ﷺ) pray?’ He told me that when he entered, he turned to his right and prayed in the direction that he was facing, between the two columns.”
Hadith No. 3063
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih - Agreed Upon