The Messenger of Allah (ﷺ) stayed in Mecca seventeen days and prayed two rak'ahs (at each time of prayer).
Sunan Abi Dawud Book 4, Hadith 35