Sayyida Aisha (may Allah be pleased with her) says: If the Messenger of Allah (peace and blessings be upon him) had seen from women what we have seen, then just as the women of Bani Israel were prevented from the mosque, these (women) would also have been prevented.
Related hadith on this topic