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:5469Abū al-Ḥusayn b. al-Faḍl al-Qaṭṭān > ʿAbdullāh b. Jaʿfar > Yaʿqūb b. Sufyān > al-Ḥasan b. al-Rabīʿ > Ibn Idrīs > Ibn Isḥāq

[Machine] Muhammad ibn Muslim narrated to me that the Messenger of Allah ﷺ stayed in Makkah for fifteen nights, shortening the prayers, until he reached Hunayn. This is the authentic report and it was also narrated by Abdah ibn Sulaiman, Ahmad ibn Khalil al-Wahbi, Salamah ibn Al-Fadl from Ibn Ishaq, and they did not mention anything about Ibn Abbas in it.  

البيهقي:٥٤٦٩وَقَدْ أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ الْفَضْلِ الْقَطَّانُ أنبأ عَبْدُ اللهِ بْنُ جَعْفَرٍ ثنا يَعْقُوبُ بْنُ سُفْيَانَ ثنا الْحَسَنُ بْنُ الرَّبِيعِ ثنا ابْنُ إِدْرِيسَ عَنِ ابْنِ إِسْحَاقَ قَالَ

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