The R&A - Working for Golf

Ball at Rest Moved

Generally, when your ball is in play, if you accidentally cause it to move, or you lift it when not permitted, add a penalty stroke and replace your ball.

If someone other than you, your caddie, your partner or your partner’s caddie moves your ball at rest, or it is moved by another ball, replace your ball without penalty.

If a ball at rest is moved by wind or it moves of its own accord, play the ball as it lies without penalty.