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.
ahmad:2758Aswad > Sharīk > Ibn al-Aṣbahānī > ʿIkrimah > Ibn ʿAbbās

[Machine] When the Prophet ﷺ conquered Mecca, he stayed there for seventeen days and prayed two units of prayer.  

أحمد:٢٧٥٨حَدَّثَنَا أَسْوَدُ حَدَّثَنَا شَرِيكٌ عَنِ ابْنِ الْأَصْبَهَانِيِّ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

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


See similar narrations below:

Collected by Abū Dāwūd
abudawud:1232Naṣr b. ʿAlī from my father > Sharīk > Ibn al-Aṣbahānī > ʿIkrimah > Ibn ʿAbbās

The Messenger of Allah ﷺ stayed in Mecca seventeen days and prayed two rak'ahs (at each time of prayer).  

أبو داود:١٢٣٢حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ أَخْبَرَنِي أَبِي حَدَّثَنَا شَرِيكٌ عَنِ ابْنِ الأَصْبَهَانِيِّ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ

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