The Prophet (ﷺ) stayed in Mecca for 19 days during which he prayed 2 rak`at in each prayer.
Sahih al-Bukhari Book 64, Hadith 331