You will get a Birth Certificate for the child from the Qatar government. As for your wife's visa, I guess this will get cancelled as a daughter can stay under her father's sponsorship till the time she gets married. I do not know anything on the penalty side if there would be any or how much that would be.