A prejudiced person may not act on his thoughts although prejudice includes all affective, behavioural and cognitive components of an attitude. Whereas discrimination only involves behaviour.
So I'd say: prejudice is cognitive
And discrimination is behavioural
Hope that answer on right track