may your father's soul rest in peace.
You have to contact your sponsor/human resources and ask for the permit. usually you get it on the spot if it is through the e-government. otherwise there is a form to be filled and signed by the sponsor and you have to get it approved by the immigration office next to the airport. they work 24x7

===================================== http://www.qatarliving.com/node/58409