If a ball might be a player's ball but cannot be identified as it lies:
If the lifted ball is the player's ball or another player's ball, it must be replaced on it original spot. If the player lifts their ball under this Rule when not necessary to identify it, fails to mark the spot of the ball before lifting it or cleans it when not allowed, the player gets one penalty stroke.
Penalty for Playing Ball from a Wrong Place in Breach of Rule 7.3: General Penalty
There is no penalty if the player's ball is accidentally moved by the player, opponent or anyone else while trying to find or identify it. But if the player causes the ball to move before they start to search for the ball, the player gets one penalty stroke.
Under this Rule, "accidentally" includes when the ball is moved by anyone taking reasonable actions to find the ball that were likely to reveal the ball's location by moving it (such as by sweeping feet through long grass or shaking a tree).
In these situations, the ball must be replaced on its original spot (which if not known must be estimated). In doing so:
Penalty for Breach of Rule 7.4: General Penalty
Click HERE to view the official R&A video