This actually did happen.
https://nypost.com/2020/09/21/man-sliced-open-pregnant-wifes-belly-to-check-babys-gender-report/
Amazingly, both mother and baby survived. The article doesn't say if the father did, but he shouldn't have. What a piece of shit.