I looked up the rule and did not see anything about 3 yards. I guess it is the judgement of the official if he was interfering with the throw-in. Here is the rule:
Rule 15-1-3
An opponent shall neither interfere with nor in any way impede the actions of the thrower while the throw-in is being taken.
Penalty: An official shall administer a caution for unsporting conduct.