If your baby is born in Qatar / HMC you will get a birth certificate [ even though the parents are under different sponsorship ] provided details and a nominal charges.
What is the penalty you are referring ?

Good Luck