Abu Amr al-Shaybani narrates that Sayyiduna Ibn Mas'ud (may Allah be pleased with him) used to send the women out of the mosque on Friday, saying: "Pray in your houses."