Hello friend,
i think (i dont know clearly) there is no need of a lawyer. you just take request with divorce certificate to the passport office so they will change you as (her/his) guardian so you have to send that certificate to the qatara embassy so they will provide visa for the baby. i dont know exactly i just heard like that from my PRO