It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "When any of your wives asks permission to go to the mosque, then grant her permission."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 5211
Hadith Gradingحکم دارالسلام:إسناده صحيح ، خ : 865 .