Sunan an-Nasa'i, Book 24, Hadith 299 (Nasa'i 2922)

It was narrated that Usmah said:

"The Messenger of Allah came out of the House and prayed two Rakahs in front of the Kabah, then he said: 'This is the Qiblah.'"