Sayyiduna Anas bin Malik (may Allah be pleased with him) says that the Messenger of Allah (peace and blessings be upon him) led me in prayer; a woman came, and he (peace and blessings be upon him) made me stand on his right and the woman behind.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5155