ʼUmar was a man of protective jealousy, and when he went out to pray, ʿAtikah bint Zaid would follow him, although he did not like her going out, but he did not like to stop her. He used to narrate that the Messenger of Allah ﷺ said: ʿif your womenfolk ask you for permission to pray in the mosque, do not prevent them.ʿ (Using translation from Aḥmad 283)
" إِذا استأذنَكم نِساؤُكم إلى الصلاةِ فلا تمنعوهُنَّ".