Messenger of Allah (SWAS) prayed four rak’ahs at Madinah and prayed two rak’ahs of afternoon prayer at Dhu-al Hulaifah. He then passed the night at Dhu-al Hulaifah till the morning came. When he rode on his mount and it stood up on its back, he raised his voice in talbiyah.
صَلَّى رَسُولُ اللَّهِ ﷺ الظُّهْرَ بِالْمَدِينَةِ أَرْبَعًا وَصَلَّى الْعَصْرَ بِذِي الْحُلَيْفَةِ رَكْعَتَيْنِ ثُمَّ بَاتَ بِذِي الْحُلَيْفَةِ حَتَّى أَصْبَحَ فَلَمَّا رَكِبَ رَاحِلَتَهُ وَاسْتَوَتْ بِهِ أَهَلَّ