Police officers pulled over a car by chance which led to evidence of an alleged crime which happened moments earlier.