Sahih Muslim
693.01

Anas b. Malik reported:We went out from Medina to Mecca with the Messenger of Allah (ﷺ) and he prayed two rak'ahs at each time of prayer till we returned to Medina. I said: For how long did he stay in Mecca? He said: (For) ten (days)

693.02

A hadith like this has been narrated by Anas by another chain of transmitters

693.03

Yahya b. Abu Ishaq reported:I heard Anas b. Malik say: We went out for Pilgrimage from Medina. The rest is the same

693.04

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