Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:5462Abū al-Ḥusayn b. al-Faḍl al-Qaṭṭān > ʿAbdullāh b. Jaʿfar > Yaʿqūb b. Sufyān > Muʿallá b. Asad > Abū ʿAwānah > ʿĀṣim al-Aḥwal > ʿIkrimah > Ibn ʿAbbās

[Machine] I traveled with the Messenger of Allah ﷺ and stayed for seventeen days, shortening the prayers. Abu Muawiyah narrated this from Asim al-Ahwal. He mentioned in most of the narrations from him that it was nineteen days.  

البيهقي:٥٤٦٢وَأَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ الْفَضْلِ الْقَطَّانُ أنبأ عَبْدُ اللهِ بْنُ جَعْفَرٍ ثنا يَعْقُوبُ بْنُ سُفْيَانَ ثنا مُعَلَّى بْنُ أَسَدٍ ثنا أَبُو عَوَانَةَ عَنْ عَاصِمٍ الْأَحْوَلِ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

سَافَرْتُ مَعَ رَسُولِ اللهِ ﷺ فَأَقَامَ سَبْعَةَ عَشَرَ يَوْمًا يَقْصُرُ الصَّلَاةَ وَرَوَاهُ أَبُو مُعَاوِيَةَ عَنْ عَاصِمٍ الْأَحْوَلِ فَقَالَ فِي أَكْثَرِ الرِّوَايَاتِ عَنْهُ تِسْعَ عَشْرَةَ