إِذْ هُوَ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ مِنْ أَهْلِ الْمَدِينَةِ، وَإِنَّمَا قَدِمَ مَكَّةَ حَاجًّا لَمْ يُقِمْ بِهَا إِقَامَةً يَجِبُ عَلَيْهِ إِتْمَامَ الصَّلَاةِ.
Indeed, you came to Makkah Mukarramah for Hajj and you did not stay in Makkah Mukarramah for so many days that it would have become obligatory for you to perform the full prayer. Imam Abu Bakr, may Allah have mercy on him, says in the narration of Yahya bin Abi Ishaq, in the narration of Sayyiduna Anas, may Allah be pleased with him, that the Prophet, peace and blessings be upon him, continued to perform two rak‘ahs (shortened prayer) throughout the journey of Hajj until he returned to Madinah Munawwarah.