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:5482Abū ʿAbdullāh al-Ḥāfiẓ > Muḥammad b. Yaʿqūb > Yaḥyá b. Muḥammad b. Yaḥyá And ʾIsmāʿīl b. Qutaybah > Yaḥyá b. Yaḥyá > Hushaym > Yaḥyá b. Abū Isḥāq > Anas b. Mālik

[Machine] We went with the Messenger of Allah ﷺ from Medina to Mecca, and he prayed two units of prayer, two units of prayer, until he returned. I said, "How long did he stay in Mecca?" He said, "Ten."  

البيهقي:٥٤٨٢أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا مُحَمَّدُ بْنُ يَعْقُوبَ ثنا يَحْيَى بْنُ مُحَمَّدِ بْنِ يَحْيَى وَإِسْمَاعِيلُ بْنُ قُتَيْبَةَ قَالَا ثنا يَحْيَى بْنُ يَحْيَى أنبأ هُشَيْمٌ عَنْ يَحْيَى بْنِ أَبِي إِسْحَاقَ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

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

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ يَحْيَى بْنِ يَحْيَى وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ وَجْهٍ آخَرَ عَنْ يَحْيَى بْنِ أَبِي إِسْحَاقَ

See similar narrations below:

Collected by Muslim, Ibn Mājah, Bayhaqī
muslim:693aYaḥyá b. Yaḥyá al-Tamīmī > Hushaym > Yaḥyá b. Abū Isḥāq > Anas b. Mālik

We went out from Medina to Mecca with the Messenger of Allah ﷺ and he prayed two rak'ahs at each time of prayer till we returned to Medina. I said: For how long did he stay in Mecca? He said: (For) ten (days).  

مسلم:٦٩٣aحَدَّثَنَا يَحْيَى بْنُ يَحْيَى التَّمِيمِيُّ أَخْبَرَنَا هُشَيْمٌ عَنْ يَحْيَى بْنِ أَبِي إِسْحَاقَ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

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

ibnmajah:1077Naṣr b. ʿAlī al-Jahḍamī > Yazīd b. Zurayʿ And ʿAbd al-Aʿlá > Yaḥyá b. Abū Isḥāq > Anas

“We went out with the Messenger of Allah ﷺ from Al-Madinah to Makkah, during which time we shortened our prayer to two Rak’ah, until we came back.” I asked: “How long did he stay in Makkah?” He said: “Ten (days).”  

ابن ماجة:١٠٧٧حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ وَعَبْدُ الأَعْلَى قَالاَ حَدَّثَنَا يَحْيَى بْنُ أَبِي إِسْحَاقَ عَنْ أَنَسٍ قَالَ

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

bayhaqi:5389Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr Aḥmad b. Salmān al-Faqīh> Quriʾ > Aḥmad b. Muḥammad b. ʿĪsá > Abū Maʿmar > ʿAbd al-Wārith > Yaḥyá b. Abū Isḥāq > Anas b. Mālik

[Machine] We went out with the Messenger of Allah ﷺ from Medina to Mecca, and he would pray two units of prayer until we returned to Medina. We said, "Did you stay in Mecca for anything?" He said, "We stayed for ten days."  

البيهقي:٥٣٨٩أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو بَكْرٍ أَحْمَدُ بْنُ سَلْمَانَ الْفَقِيهُ بِبَغْدَادَ قَالَ قُرِئَ عَلَى أَحْمَدَ بْنِ مُحَمَّدِ بْنِ عِيسَى وَأَنَا أَسْمَعُ ثنا أَبُو مَعْمَرٍ ثنا عَبْدُ الْوَارِثِ ثنا يَحْيَى بْنُ أَبِي إِسْحَاقَ ثنا أَنَسُ بْنُ مَالِكٍ قَالَ

خَرَجْنَا مَعَ رَسُولِ اللهِ ﷺ مِنَ الْمَدِينَةِ إِلَى مَكَّةَ فَكَانَ يُصَلِّي رَكْعَتَيْنِ رَكْعَتَيْنِ حَتَّى رَجَعْنَا إِلَى الْمَدِينَةِ قَالَ قُلْنَا فَأَقَمْتُمْ بِمَكَّةَ شَيْئًا؟ قَالَ أَقَمْنَا عَشْرًا  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ أَبِي مَعْمَرٍ وَأَخْرَجَهُ مُسْلِمٌ مِنْ أَوْجُهٍ أُخَرَ عَنْ يَحْيَى