<h5 class="gray">11-4. Playing from Outside Teeing Ground</h5>

a. Match Play
If a player, when starting a hole, plays a ball from outside the
teeing ground, there is no penalty, but the opponent may immediately require the player to cancel the
stroke and play a ball from within the
teeing ground.

b. Stroke Play
If a
competitor, when starting a hole, plays a ball from outside the
teeing ground, he incurs a penalty of two strokes and must then play a ball from within the
teeing ground.
If the
competitor makes a
stroke from the next
teeing ground without first correcting his mistake or, in the case of the last hole of the round, leaves the
putting green without first declaring his intention to correct his mistake, he is disqualified.
The
stroke from outside the
teeing ground and any subsequent
strokes by the
competitor on the hole prior to his correction of the mistake do not count in his score.
For future reference, you can check out
http://www.usga.org/Rule-Books/Rules-of-Go...-and-Decisions/