All perfect praise be to Allaah, the Lord of the worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His Slave and Messenger.
It is permissible for women and the hospitalized woman’s Mahram (non-marriageable) men to visit her in hospital and other places after her delivery unless an act prohibited under the Sharee‘ah (Islamic law) — such as intermixing between the sexes— would ensue. In such a case, it would be impermissible to go on such a visit.
Allaah Knows best.