A hadith like this has been transmitted by Anas, but no mention has been made of Pilgrimage.

Sahih Muslim Book 6, Hadith 20