(24) باب مَنْ بَاتَ بِذِي الْحُلَيْفَةِ حَتَّى أَصْبَحَ
Narrated Abu Qilaba:
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.
Reference: Sahih al-Bukhari 1547
In-book reference: Book 25, Hadith 33
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 26, Hadith 619