Fouls:
Hitting an oppenents ball(s) with the cue ball on first impact of the cue ball, except with the first shot following any foul.
Potting any opponent's ball, except with the first shot following any foul.
--
Following any foul the offending player loses their next visit to the table, giving their opponent two consecutive visits to the table.
Source:
http://www.epa.org.uk/rules.php
You may have some localized rules, but the situation described in your post is definitely a foul. It would be here in England anyway!