19.4 WHO THROWS IN

The throw-in is taken by an opponent of the player who last held or touched the ball before it went into touch. When there is doubt, the attacking team takes the throw-in.
Exception: When a team takes a penalty kick, and the ball is kicked into touch, the throw-in is taken by a player of the team that took the penalty kick. This applies whether the ball was kicked directly or indirectly into touch.