Sahih Bukhari – Hadith No : 1796

Narrated Nafi’: Whenver Ibn ‘Umar (ra) approached (Makkah) he used to pass the night at Dhi-Tuwa till dawn, and then he would enter Makkah. On his return, he used to pass by Dhi-Tuwa and pass the night there till dawn, and he used to say that the Prophet () used to do the same.

Hadith In Arabic Text :

وقال محمد بن عيسى حدثنا حماد، عن أيوب، عن نافع، عن ابن عمر رضى الله عنهما أنه كان إذا أقبل بات بذي طوى، حتى إذا أصبح دخل، وإذا نفر مر بذي طوى وبات بها حتى يصبح، وكان يذكر أن النبي صلى الله عليه وسلم كان يفعل ذلك‏.‏

Chapter : Hajj (Pilgrimage) – كتاب الحج