It was narrated that Anas said:
"I went out with the Messenger of Allah (ﷺ) from Al-Madinah to Mekkah, and he continued to shorten his prayers, and he stayed there for ten days." (RU)
Reference (RU): Sunan an-Nasa'i 1438 (RU)
In-book reference (RU): Book 15, Hadith 6 (RU)
English translation (RU): Vol. 2, Book 15, Hadith 1439 (RU)