Sex 1 day postpartum

I invited my friend to come meet my baby in the hospital since she was such a huge help throughout pregnancy. She had a 7 month old at this point. She told me her and her boyfriend had sex the same night she had given birth. She was in labour for almost a whole day and had stitches. They ripped and she had to get them redone. But after that they only waited a few days. Is this a thing??? I thought it was dangerous. Regardless I’m waiting a couple months at the most. With all this pain I don’t even know if I’ll be ready in a couple months. I’m kinda disgusted that they did this but she said apparently a lot of people do. I guess it just depends on you