Al-Qasim and Salim were in Makkah. They intended to perform Umrah, so they went from Makkah to Dhu al-Hulayfah and entered ihram there.