It is dangerous. I'm heard numerous reports from a friend of mine (children's nurse) on newborns who have been admitted back into hospital having caught infections from being taken out amongst others too soon.
The advice we were given when our daughter was born was to get out as soon as the mother felt up to it. Getting up and out is encouraged from a Post-Natal depression point of view too.