Baby to hospital visit?

Sa

My brother’s wife just went in to labor and I want to go visit but I have my own 4 month old daughter. I wouldn’t take her to the main part of a hospital but is it safer in the women’s ward where it’s only moms and babies? My sister in law brought their 10 month old to the hospital when I had my daughter but that’s older than my daughter right now.... thoughts on bringing her???

First baby and never dealt with this so I have no clue.