You will pay QR200/day penalty. You can settle at the Airport Immigration earlier before your flight home so you would not have problems at the Immigration on the day you leave.

or

You can check first with the Airport Immigration before
you visa expires to avoid problems.