It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that he said: "The women of the Children of Israel used to pray with the men in the rows. Then they made wooden stilts or raised shoes with which they would make themselves taller, so that one of them could look at her friend (a non-mahram man). So menstruation was imposed upon them (as a punishment) and they were put at the back." Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: "So you too keep them back where Allah, the Mighty and Majestic, has put them back." All the narrators of the chain of this report are thiqat (trustworthy).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب افتتاح الصلاة / 1224