When a single colour ray has been sent through a prism, does it split into more colours ? Why?

We know that the frequency of light is the property of the source and it is equal to number of waves leaving the source per second. This cannot be changed by any medium. Hence frequency doesn’t change due to refraction. Thus coloured light passing through any transparent medium retains its colour.