The Messenger of Allah ﷺ would pray two units of prayer in the masjid at Dhul-Hulayfa, and once his mount had risen and stood straight with him, he would call out his pilgrim's declaration.
و حدثني عن مالك
أن رسول الله ﷺ كان يصلي في مسجد ذي الحليفة ركعتين فإذا استوت به راحلته أهل