I observed four rak'ahs in the noon prayer with the Messenger of Allah (ﷺ) at Medina, and…

Sahih Muslim Book 6 Hadith 13

Sahih Muslim #690 b

The Book of Prayer - Travellers 6:13

Anas b. Malik is reported to have said:

I observed four rak'ahs in the noon prayer with the Messenger of Allah (ﷺ) at Medina, and said two rak'ahs in the afternoon prayer at Dhu'l-Hulaifa.

Chapter: The travelers’ prayer and shortening it

Grade: Sahih