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:1929Muḥammad b. ʿUthmān b. Ṣafwān b. Umayyah al-Jumaḥī > al-Ḥakam b. Abān > ʿIkrimahaʿan Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ prayed in Medina as a resident, not as a traveler, seven and eight.  

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

صَلَّى رَسُولُ اللهِ ﷺ فِي الْمَدِينَةِ مُقِيمًا غَيْرَ مُسَافِرٍ سَبْعًا وَثَمَانِيًا