Malik said that the people of Makka who are doing hajj should shorten the prayer to two rakas when at Mina until they go back to Ma ka.
Muwatta Malik Book 20, Hadith 212