5. Restart of play after fouls and misconduct
The provision as it is printed, and everything on Ruleside that turns on it.
If a player who is on or off the field of play throws or kicks an object (other than the match ball) at an opposing player, or throws or kicks an object (including a ball) at an opposing substitute, substituted or sent-off player, team official, or a match official or the match ball, play is restarted with a direct free kick from the position where the object struck or would have struck the person or the ball. If this position is off the field of play, the free kick is taken on the nearest point on the boundary line; a penalty kick is awarded if this is within the offender's penalty area.
Verdicts that turn on it 1
Walk the tree to any of these and this clause is part of the answer.
The Laws of the Game are published by The IFAB and quoted here for the purpose of explaining the decisions on this site. Ruleside is not affiliated with The IFAB or FIFA. Every clause of Fouls and Misconduct that Ruleside cites.