Mishkat al-Masabih

Nafi' said that it was Ibn ‘Umar’s habit not to come to Mecca without spending the night at Dhu Tuwa (A place near Mecca), after which he would bathe and pray, then enter Mecca in the daytime. When he left it he went by Way of Dhu Tuwa where he would stay overnight till the morning. He used to say that the Prophet (ﷺ) was accustomed to do that. Bukhari and Muslim.

عَنْ نَافِعٍ قَالَ: إِنَّ ابْنَ عُمَرَ كَانَ لَا يَقْدَمُ مَكَّةَ إِلَّا بَاتَ بِذِي طُوًى حَتَّى يُصْبِحَ وَيَغْتَسِلَ وَيُصَلِّيَ فَيَدْخُلَ مَكَّةَ نَهَارًا وَإِذَا نَفَرَ مِنْهَا مَرَّ بِذِي طُوًى وَبَاتَ بِهَا حَتَّى يُصْبِحَ وَيَذْكُرُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَفْعَلُ ذَلِكَ