It is narrated from Hazrat Ibn Umar (may Allah be pleased with them both) that on the day of the conquest of Makkah, when the people had completed Tawaf and Sa'i, the Noble Prophet (peace and blessings be upon him) entered the House of Allah. Hazrat Ibn Umar (may Allah be pleased with them both) was not aware of this. When he came to know, he began to enter following the Noble Prophet (peace and blessings be upon him), climbing over people's necks. The Noble Prophet (peace and blessings be upon him) met him at a time when the Prophet (peace and blessings be upon him) had already come out. He asked Hazrat Bilal (may Allah be pleased with him), "What did the Noble Prophet (peace and blessings be upon him) do after entering the Ka'bah?" He replied that the Noble Prophet (peace and blessings be upon him) faced the front side and prayed two rak'ahs, then supplicated for a while and came out.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 23897
Hadith Gradingحکم دارالسلام:حديث صحيح، خ: 397، م: 1329، وهذا إسناد ضعيف لضعف عثمان بن سعد