(67) باب لاَ يَطُوفُ بِالْبَيْتِ عُرْيَانٌ وَلاَ يَحُجُّ مُشْرِكٌ
Narrated Abu Huraira:
In the year prior to the last Hajj of the Prophet (ﷺ) when Allah's Messenger (ﷺ) made Abu Bakr the leader of the pilgrims, the latter (Abu Bakr) sent me in the company of a group of people to make a public announcement: 'No pagan is allowed to perform Hajj after this year, and no naked person is allowed to perform Tawaf of the Ka`ba.' (See Hadith No. 365 Vol. 1)
Reference: Sahih al-Bukhari 1622
In-book reference: Book 25, Hadith 107
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 26, Hadith 689