Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)

Bukhari :: Book 5 :: Volume 59 :: Hadith 592

Narrated Ibn Abbas:

The Prophet stayed in Mecca for 19 days during which he prayed 2 Rakat in each prayer.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star