Ahmad, from Al-Hajjal, from Al-‘Ala’, from Muhammad ibn Muslim:
Abu Ja‘far, peace be upon him, (was asked) regarding a woman who prays near a man. Imam عليه السلام said: "If there is a barrier between them, then there is no problem."
Ali Akbar al-Ghaffari
Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 2, p. 409