Bab-un-Nisa, on the eastern side of Masjid-e-Nabwi, was commissioned by Umar (رضي الله عنه) for exclusive use by women.
- Umar (رضي الله عنه) expanded the masjid in 17 AH during his caliphate. He built this door at the end of eastern wall of the mosque. Women used to enter the masjid from this door and offered their salah in the last rows and thus were able to avoid contact with men. Abu Dawud mentioned that Umar (رضي الله عنه) said, “We should let the ladies use this door exclusively.”
- Note that the original position of this door was further inside the present mosque. It was moved eastwards with the extension of Masjid-e-Nabwi.
References: History of Madinah Munawwarah – Dr. Muhammad Ilyas Abdul Ghani