I am sure by "end line" you mean goal line. If the ball was over the goal line, then the ball was in the end zone when possessed, and the pass successfully received, making it a touchback. Rule 8-5-3d - "A forward pass is intercepted in B's end zone and becomes dead there in B's possession."