Sahih al-Bukhari 4298
Sahih al-Bukhari · Book 64: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) · The stay of the Prophet (saws) in Makkah
Narrated Ibn `Abbas:
حَدَّثَنَا عَبْدَانُ ، أَخْبَرَنَا عَبْدُ اللَّهِ ، أَخْبَرَنَا عَاصِمٌ ، عَنْ عِكْرِمَةَ ، عَنِ ابْنِ عَبَّاسٍ ، رضى الله عنهما قَالَ أَقَامَ النَّبِيُّ صلى الله عليه وسلم بِمَكَّةَ تِسْعَةَ عَشَرَ يَوْمًا يُصَلِّي رَكْعَتَيْنِ.
The Prophet (ﷺ) stayed in Mecca for 19 days during which he prayed 2 rak`at in each prayer.