The best way is to go directly to Hamad international airport and check in immigration office. It is location on the departure floor, behind counter No. 4 or 5.I hope so!

They will directly your ID and tell you at the same. time.