Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:1871Muslim b. Ibrāhīm > Salāam b. Miskīn > Thābit al-Bunānī > ʿAbdullāh b. Rabāḥ al-Anṣārī > Abū Hurayrah

Abu Hurairah said When the Prophet ﷺ entered Makkah he circumambulated the House(the Ka’bah) and offered two rak’ahs of prayer behind the station. That is, he did so on the day of the Conquest (of Makkah).  

أبو داود:١٨٧١حَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ حَدَّثَنَا سَلاَّمُ بْنُ مِسْكِينٍ حَدَّثَنَا ثَابِتٌ الْبُنَانِيُّ عَنْ عَبْدِ اللَّهِ بْنِ رَبَاحٍ الأَنْصَارِيِّ عَنْ أَبِي هُرَيْرَةَ

أَنَّ النَّبِيَّ ﷺ لَمَّا دَخَلَ مَكَّةَ طَافَ بِالْبَيْتِ وَصَلَّى رَكْعَتَيْنِ خَلْفَ الْمَقَامِ يَعْنِي يَوْمَ الْفَتْحِ