Ata (may Allah have mercy on him) said: If he is forbidden to go out of the city and he goes out anyway, he is liable.