Hadithcore
Sunan Abi Dawud, 1871

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).

حَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا سَلاَّمُ بْنُ مِسْكِينٍ، حَدَّثَنَا ثَابِتٌ الْبُنَانِيُّ، عَنْ عَبْدِ اللَّهِ بْنِ رَبَاحٍ الأَنْصَارِيِّ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم لَمَّا دَخَلَ مَكَّةَ طَافَ بِالْبَيْتِ وَصَلَّى رَكْعَتَيْنِ خَلْفَ الْمَقَامِ يَعْنِي يَوْمَ الْفَتْحِ ‏.‏

References2 variants
In-Book Reference
Book 11, Hadith 151
English Reference
Book 10, Hadith 1866