To those even thinking about rehoming your cat, please consider that 3 in 4 cats in shelters are euthanized because they can't be adopted out within the week or often less they're usually given. So unless you have a friend or relative who can take them, rehoming is usually a death sentence.
Please read this if you don't believe me. It's a very lightweight article compared to others I've read, where many shelters often use gas chambers to euthanize the animals, which is far from being a quick and painless death: https://digitaljournal.com/article/309290
Yes, cats are creatures with instincts, but as long as you supervise them every time they're around your baby, there will be no issues. As for us, we're probably co-sleeping, so we do need some kind of good protection for the crib when we're asleep, if they're in their own room, it's as easy as making that room a cat-free zone.
It also bothers me when I see this talk of cats being inferior to human babies. Granted, they are different, the bond I'll share with my child is very different from the bond I'll ever share with a cat, but the intensity is just as strong. Hell, the intensity of the love I feel for them is just as strong as the love I feel for my husband, and that's certainly a different kind of bond! In any case, I didn't rehome my cats when I moved from the US to The Netherlands to be with my husband, so I am certainly not rehoming them just because we have a baby on the way. If anything, our cats will be a valuable part of our child's upbringing, teaching them compassion, and being wonderful playmates. Our cats are family, not things, and that's a value that we're proudly passing onto this baby and any others we have!