First of all Qatar Labour Law does not allow to work a person on visit visa, your visa may be business visa, and it is not your mistake to renew it prior its expiry. Penalty is QR. 500/- per day of delay if it is business visa and QR. 200/- per day for visit visa.

Qatar labour law is applicable for those who are on a work residence visa with a valid Labour Contract.