I asked Anas b. Malik: Narrate to us what you heard the Messenger of Allah (ﷺ) say. He said: When we travelled along with the Messenger of Allah (ﷺ), we would say: Did the sun pass the meridian or not? But he (the Prophet) would offer the noon prayer and then proceed.
Sunan Abi Dawud Book 4, Hadith 7