(38) باب اسْتِحْبَابِ الْمَبِيتِ بِذِي طَوًى عِنْدَ إِرَادَةِ دُخُولِ مَكَّةَ وَالاِغْتِسَالِ لِدُخُولِهَا نَهَارًا
Nafi' reported that Ibn Umar (Allah be pleased with them) did not enter Mecca without spending the night at Dhi Tawu until it was dawn, when he took a bath, and then entered Mecca in the morning, and made a mention that Allah's Apostle (ﷺ) did that.
Reference: Sahih Muslim 1259 b
In-book reference: Book 15, Hadith 251
USC-MSA web (English) reference(deprecated numbering scheme): Book 7, Hadith 2890