The Book of Pilgrimage (Kitab Al-Hajj)
Muslim :: Book 7 : Hadith 2986
Ubaidullah reported this hadith with the same chain of transmitters and (it is said) that it was on the fourth turn that he (the Holy Prophet) said: (May Allah have mercy upon) those who got their hair clipped."