I read a ruling that if a female was to pray salah in front/in line with a male in Janazah Salah then the Salah will not break as opposed to a normal daily salah (with Ruku and Sujud). I wanted to ask about the ruling in a normal daily salah. What exactly will break salah? Is it simply standing in line with the musalli? Does he have to be a ghayr mahram? A reference from bahare shariat. Jazakallah