I entered the House with the Messenger of Allah ﷺ. He sat down, praised Allah and gave thanks to Him, declared His greatness, and proclaimed His oneness. Then he leaned toward the wall in front of him inside the House and placed his chest, his cheek, and his hands against it. He declared Allah's greatness, proclaimed His oneness, and supplicated. He did the same at every corner. Then he went out, turned to face the qiblah while still at the door, and said, "This is the qiblah, this is the qiblah."
أخبرنا يعقوب بن إبراهيم قال حدثنا هشيم قال أنبأنا عبد الملك عن عطاء
دخلت مع رسول الله ﷺ البيت فجلس فحمد الله وأثنى عليه وكبر وهلل ثم مال إلى ما بين يديه من البيت فوضع صدره عليه وخده ويديه ثم كبر وهلل ودعا فعل ذلك بالأركان كلها ثم خرج فأقبل على القبلة وهو على الباب فقال هذه القبلة هذه القبلة
[Its isnad is hasan] See the previous hadith. It is in Kubra, no. 3898.