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.
سَمِعْتَ مِنْ رَسُولِ اللَّهِ ﷺ قَالَ كُنَّا إِذَا كُنَّا مَعَ رَسُولِ اللَّهِ ﷺ فِي السَّفَرِ فَقُلْنَا زَالَتِ الشَّمْسُ أَوْ لَمْ تَزُلْ صَلَّى الظُّهْرَ ثُمَّ ارْتَحَلَ