To my knowledge, you must exit Qatar within 7 days after which a penalty of QR 200 per each extra day of stay becomes applicable.