I am confused since the English is not quite correct but here is my guess at what you are trying to say:

Я увидел человека, который был с девочкой.
I saw the person who was with the girl.