A petrol engine (in a standard car) uses about 1-2 litres of fuel per hour when idling.
It is prohibited to leave the engine running unnecessarily and idling in densely populated areas according to the traffic rules.