It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) performed the Zuhr prayer in Madinah Munawwarah with four rak‘ahs, and performed the ‘Asr prayer at Dhul-Hulaifah with two rak‘ahs. He stayed there for the night, and after performing the Fajr prayer, he mounted his ride. At that time, the Prophet (peace and blessings be upon him) entered into the state of Ihram.