i mean the nfl rulebook says that they qb must have the ball when the contact occurs, so i feel like i should go with that and not what you think.Not true.
Pass interference interrupting the receiver from making a catch.
Illegal contact is contact with a receiver 5 yards down the field.
Foul occurred away from the potential pass, therefore illegal contact.