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.
muslim:660bʿUbaydullāh b. Muʿādh from my father > Shuʿbah > ʿAbdullāh b. al-Mukhtār > Mūsá b. Anas > Anas b. Mālik

Abdullah b. al-Mukhtar heard Musa b. Anas narrating on the authority of Anas b. Malik that the Messenger of Allah ﷺ led him, his mother or his aunt in prayer. He made me, stand on his right side and made the woman stand, behind us.  

مسلم:٦٦٠bوَحَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ حَدَّثَنَا أَبِي حَدَّثَنَا شُعْبَةُ عَنْ عَبْدِ اللَّهِ بْنِ الْمُخْتَارِ سَمِعَ مُوسَى بْنَ أَنَسٍ يُحَدِّثُ عَنْ أَنَسِ بْنِ مَالِكٍ

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