Ayesha reported,

If the Messenger of Allah ﷺ had seen what women have introduced, he would have forbidden them from the mosques just as the women of the Children of Israil were forbidden.I asked Amra, "Were they actually forbidden?"She replied, "Yes."

Bukhari 869

Sahih

حدثنا عبد الله بن يوسف قال أخبرنا مالك عن يحيى بن سعيد عن عمرة

عن عائشة رضي الله عنها قالت

لو أدرك رسول الله ﷺ ما أحدث النساء لمنعهن كما منعت نساء بني إسرائيل قلت لعمرة أومنعن قالت نعم

البخاري 869صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhan
Chapter
Waiting for the people for the standing of the knowledgeable imam
Numbering
Darussalam 869
Bukhari 869