When a player has substituted another ball for the original ball when not allowed under the Rules or the player's ball in play was replaced, dropped or placed (1) in a wrong place or came to rest in a wrong place, (2) in a wrong way or (3) by using a procedure that did not apply:
- The player may lift the ball without penalty and correct the mistake.
- But this is allowed only before the ball is played.
Click to view full USGA Explanation