When the Prophet ﷺ came to Mecca, he entered from its upper side and left from its lower side.
حدثنا أبو موسى محمد بن المثنى حدثنا سفيان بن عيينة عن هشام بن عروة عن أبيه
لما جاء النبي ﷺ إلى مكة دخل من أعلاها وخرج من أسفلها
Agreed upon [by Bukhari and Muslim]. Bukhari narrated it in the Book of Hajj, chapter on from where one exits Makkah, no. 1577, and Muslim, no. 1258, from Muhammad bin Muthanna through this same route.There is also a narration on this subject from Ibn Umar [Bukhari, no. 1575, and Muslim, no. 1257].