The Prophet ﷺ prayed four rakahs in Medina and two rakahs at Dhul Hulayfah, then spent the night there until morning at Dhul Hulayfah. When he mounted his riding camel and it stood up straight with him, he entered the state of ihram.
حدثني عبد الله بن محمد حدثنا هشام بن يوسف أخبرنا ابن جريج حدثنا محمد بن المنكدر
صلى النبي ﷺ بالمدينة أربعا وبذي الحليفة ركعتين ثم بات حتى أصبح بذي الحليفة فلما ركب راحلته واستوت به أهل