Anas bin Malik said, "The Prophet (ﷺ) offered four rak`at of the Zuhr prayer in Medina and two rak`at of `Asr prayer at Dhul-Hulaifa." I think that the Prophet (ﷺ) passed the night there till morning.
Sahih al-Bukhari Book 25, Hadith 33