normally, a 3 month period is given (from arrival)to complete all the formalities (including medical checks. beyond that, 10 riyals per day is charged. (might have changed though).