When the Messenger of Allah ﷺ conquered Mecca, I said (to myself): I shall put on my clothes, and my house lay on the way, I shall watch how the Messenger of Allah ﷺ behaves. So I went out. I saw that the Prophet ﷺ and his Companions had come out from the Ka'bah and embraced the House (the Ka'bah) from its entrance (al-Bab) to al-Hatim. They placed their cheek on the House (the Ka'bah) while the Messenger of Allah ﷺ was amongst them. (Using translation from Abū Dāʾūd 1898)
لَمَّا افْتَتَحَ رَسُولُ اللهِ ﷺ مَكَّةَ قُلْتُ لَأَلْبَسَنَّ ثِيَابِي وَكَانَ دَارِي عَلَى الطَّرِيقِ فَلَأَنْظُرَنَّ مَا يَصْنَعُ رَسُولُ اللهِ ﷺ فَانْطَلَقْتُ فَوَافَقْتُ رَسُولَ اللهِ ﷺ قَدْ خَرَجَ مِنَ الْكَعْبَةِ وَأَصْحَابُهُ قَدِ اسْتَلَمُوا الْبَيْتَ مِنَ الْبَابِ إِلَى الْحَطِيمِ وَقَدْ وَضَعُوا خُدُودَهُمْ عَلَى الْبَيْتِ وَرَسُولُ اللهِ ﷺ وَسْطَهُمْ فَقُلْتُ لِعُمَرَ وكَيْفَ صَنَعَ رَسُولُ اللهِ ﷺ حِينَ دَخَلَ الْكَعْبَةَ؟ قَالَ صَلَّى رَكْعَتَيْنِ