It is narrated from Sayyiduna Anas bin Malik, may Allah be pleased with him, that the Prophet Muhammad, peace and blessings be upon him, led a four-unit prayer in Madinah, then began his journey from Madinah and performed two units of the Asr prayer at the place of Dhu’l-Hulayfah. The narrator says: I think Sayyiduna Anas, may Allah be pleased with him, also said that the Prophet, peace and blessings be upon him, spent the night at the place of Dhu’l-Hulayfah until morning came.
Hadith Referenceالسنن المأثورة / باب ما جاء في الصلاة في السفر / 14
Hadith Takhrijصحيح بخارى، الحج، باب من بات بذي الحليفة حتى أصبح، رقم: 1547 ، صحیح مسلم، المساجد ومواضع الصلاة، باب صلاة المسافرين وقصرها، رقم : 690