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:5423Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Ḥasan b. ʿAlī b. ʿAffān > ʿUbaydullāh b. Mūsá > Dalham b. Ṣāliḥ al-Kindī > ʿAṭāʾ > ʿĀʾishah

[Machine] We used to pray with the Prophet ﷺ four rak'ahs when we went out to Makkah until we returned.  

البيهقي:٥٤٢٣أَمَّا حَدِيثُ دَلْهَمِ بْنِ صَالِحٍ 5423 فَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا الْحَسَنُ بْنُ عَلِيِّ بْنِ عَفَّانَ ثنا عُبَيْدُ اللهِ بْنُ مُوسَى ثنا دَلْهَمُ بْنُ صَالِحٍ الْكِنْدِيُّ عَنْ عَطَاءٍ عَنْ عَائِشَةَ ؓ قَالَتْ

كُنَّا نُصَلِّي مَعَ النَّبِيِّ ﷺ إِذَا خَرَجْنَا إِلَى مَكَّةَ أَرْبَعًا حَتَّى نَرْجِعَ