"The Messenger of Allah entered the Kabah and recited the Tasbih and the Takbir in its corners, but he did not pray. Then he came out and prayed two Rakahs behind the Maqam, then he said: 'This is Qiblah.'"
Reference: Sunan an-Nasa'i 2909 In-book : Book 24, Hadith 0 English translation : Vol. 3, Book 24, Hadith 2912
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.