Authenticity of a hadith regarding duas being accepted during childbirth/labour

Q: I came across some information a few years ago, which I don't remember the source. I am now pregnant alhamdulilah and I would like to verify this information as I cannot find anything in my Islamic literature.

Is true that dua is accepted during childbirth/labour? If so, please can you provide any basis.