رَكِبَ ﷺ القَصْوَاءَ حَتَّى أتَى المَشْعَرَ الحَرَامَ، فَاسْتَقْبَلَ القِبْلَةَ (فَدَعَاهُ، وَ كَبَّرَهُ، وَ هَلَّلَهُ، وَ وَحَّدَهُ) فَلَمْ يَزَلْ وَاقِفًا حَتَّى أسْفَرَ جِدّاً، فَدَفَعَ قَبْلَ أنْ تَطْلُعَ الشَّمْسُ

The Prophet \pbuh rode al-Qaṣwā until he reached al-Mashʿar al-Ḥaram, he then faced the Qiblah, supplicated to Allāh, and extolled His greatness and oneness. He stood until the Sun shone but left before it rose.

Reference: The Prophet \pbuh rode al-Qaṣwā until he reached al-Mashʿar al-Ḥaram, he then faced the Qiblah, supplicated to Allāh, and extolled His greatness and oneness. He stood until the Sun shone but left before it rose. Muslim (#1218, 2/891).