I think each bank has their own policy.
I bank with HSBC, there is a fine of Qr.300.00 for giving a cheque with insufficient funds.
I suppose under some circumstances, you can go to jail if someone makes a police / legal complaint.