The Prophet ﷺ offered four rakʿat of Zuhr prayer at Medina and two rakʿat of ʿAsr prayer at Dhul-Hulaifa. Narrated Aiyub: "A man said: Anas said, "Then he (the Prophet ﷺ passed the night there till dawn and then he offered the morning (Fajr) prayer, and mounted his Mount and when it arrived at Al-Baida' he assumed Ihram for both ʿUmra and Hajj."
صَلَّى النَّبِيُّ ﷺ الظُّهْرَ بِالْمَدِينَةِ أَرْبَعًا وَالْعَصْرَ بِذِي الْحُلَيْفَةِ رَكْعَتَيْنِ وَعَنْ أَيُّوبَ عَنْ رَجُلٍ عَنْ أَنَسٍ ؓ ثُمَّ بَاتَ حَتَّى أَصْبَحَ فَصَلَّى الصُّبْحَ ثُمَّ رَكِبَ رَاحِلَتَهُ حَتَّى إِذَا اسْتَوَتْ بِهِ الْبَيْدَاءَ أَهَلَّ بِعُمْرَةٍ وَحَجَّةٍ