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:5221Abū al-Ḥusayn b. Bishrān> Abū Jaʿfar al-Razzāz > Ibrāhīm b. al-Haytham > Ādam b. Abū Iyās > Shuʿbah > ʿAbdullāh b. al-Mukhtār > Mūsá b. Anas > Anas

[Machine] I was riding behind the Messenger of Allah ﷺ and a woman, and he made me sit on his right side while the woman was behind us.  

البيهقي:٥٢٢١أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ بِبَغْدَادَ أنبأ أَبُو جَعْفَرٍ الرَّزَّازُ ثنا إِبْرَاهِيمُ بْنُ الْهَيْثَمِ ثنا آدَمُ بْنُ أَبِي إِيَاسٍ ثنا شُعْبَةُ عَنْ عَبْدِ اللهِ بْنِ الْمُخْتَارِ قَالَ سَمِعْتُ مُوسَى بْنَ أَنَسٍ يُحَدِّثُ عَنْ أَنَسٍ قَالَ

أَمَّنِي رَسُولُ اللهِ ﷺ وَامْرَأَةً فَجَعَلَنِي عَنْ يَمِينِهِ وَالْمَرْأَةُ خَلْفَنَا  

أَخْرَجَهُ مُسْلِمٌ فِي الصَّحِيحِ مِنْ حَدِيثِ شُعْبَةَ

See similar narrations below:

Collected by Bayhaqī
bayhaqi:5156Abū al-Qāsim Zayd b. Jaʿfar b. Muḥammad b. ʿAlī al-ʿAlawī And ʾAbū Muḥammad Janāḥ b. Nudhayr b. Janāḥ al-Qāḍī Waʾabū al-Ḥusayn Muḥammad b. ʿAlī b. Khushaysh al-Muqriʾ Bi-al-Kūfah > Abū Jaʿfar Muḥammad b. ʿAlī b. Duḥaym > Muḥammad b. al-Ḥusayn b. Abū al-Ḥunayn > Muslim b. Ibrāhīm al-Azdī > Shuʿbah > ʿAbdullāh b. al-Mukhtār > Mūsá b. Anas from his father

[Machine] "That the Prophet ﷺ prayed while standing next to me and a woman. He told me to stand on his right side and the woman behind us."  

البيهقي:٥١٥٦وَأَخْبَرَنَا أَبُو الْقَاسِمِ زَيْدُ بْنُ جَعْفَرِ بْنِ مُحَمَّدِ بْنِ عَلِيٍّ الْعَلَوِيُّ وَأَبُو مُحَمَّدٍ جَنَاحُ بْنُ نُذَيْرِ بْنِ جَنَاحٍ الْقَاضِي وَأَبُو الْحُسَيْنِ مُحَمَّدُ بْنُ عَلِيِّ بْنِ خُشَيْشٍ الْمُقْرِئُ بِالْكُوفَةِ قَالُوا ثنا أَبُو جَعْفَرٍ مُحَمَّدُ بْنُ عَلِيِّ بْنِ دُحَيْمٍ ثنا مُحَمَّدُ بْنُ الْحُسَيْنِ بْنِ أَبِي الْحُنَيْنِ ثنا مُسْلِمُ بْنُ إِبْرَاهِيمَ الْأَزْدِيُّ ثنا شُعْبَةُ عَنْ عَبْدِ اللهِ بْنِ الْمُخْتَارِ عَنْ مُوسَى بْنِ أَنَسٍ عَنْ أَبِيهِ

أَنَّ النَّبِيَّ ﷺ صَلَّى بِهِ وَبِامْرَأَةٍ قَالَ فَأَقَامَنِي عَنْ يَمِينِهِ وَالْمَرْأَةَ خَلْفَنَا  

أَخْرَجَهُ مُسْلِمٌ مِنْ أَوْجُهٍ عَنْ شُعْبَةَ