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.
suyuti:420-146bIbn ʿAbbās
Request/Fix translation

  

السيوطي:٤٢٠-١٤٦b

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

[عب] عبد الرازق [ش] ابن أبى شيبة

See similar narrations below:

Collected by Ṭabarānī
tabarani:11912Isḥāq b. Ibrāhīm al-Dabarī > ʿAbd al-Razzāq > Ibn Mubārak > ʿĀṣim al-Aḥwal > ʿIkrimah > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ stayed in Makkah for seventeen nights and shortened the prayers.  

الطبراني:١١٩١٢حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ الدَّبَرِيُّ عَنْ عَبْدِ الرَّزَّاقِ عَنِ ابْنِ مُبَارَكٍ عَنْ عَاصِمٍ الْأَحْوَلِ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

«أَقَامَ رَسُولُ اللهِ ﷺ بِمَكَّةَ سَبْعَ عَشْرَةَ لَيْلَةً يَقْصُرُ الصَّلَاةَ»