Mishkat al-Masabih
Mishkat al-Masabih 1337
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: سَافَرَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ سَفَرًا فَأَقَامَ تِسْعَةَ عَشَرَ يَوْمًا يُصَلِّي رَكْعَتَيْنِ رَكْعَتَيْنِ قَالَ ابْنُ عَبَّاسٍ: فَنَحْنُ نُصَلِّي فِيمَا بَيْنَنَا وَبَيْنَ مَكَّةَ تِسْعَةَ عَشَرَ رَكْعَتَيْنِ رَكْعَتَيْنِ فَإِذَا أَقَمْنَا أَكْثَرَ مِنْ ذَلِك صلينَا أَرْبعا. رَوَاهُ البُخَارِيّ
Unreviewed translation. All hadiths in this collection are available in five languages. Titles and introductions may remain in Arabic.
Ibn Abbas reported that during a journey the Prophet stayed for nineteen days and prayed two units at each prayer. Ibn Abbas said: When we travel between here and Mecca, we pray two units at each prayer for nineteen days; if we stay longer than that, we pray four. Al-Bukhari transmitted it.