I found this:
7.05 Each runner including the batter-runner may, without liability to be put out, advance—
(a) To home base, scoring a run, if a fair ball goes out of the playing field in flight and he touched all bases legally; or if a fair ball which, in the umpire’s judgment, would have gone out of the playing field in flight, is deflected by the act of a fielder in throwing his glove, cap, or any article of his apparel;
( Three bases, if a fielder deliberately touches a fair ball with his cap, mask or any part of his uniform detached from its proper place on his person. The ball is in play and the batter may advance to home base at his peril;
© Three bases, if a fielder deliberately throws his glove at and touches a fair ball. The ball is in play and the batter may advance to home base at his peril.
(d) Two bases, if a fielder deliberately touches a thrown ball with his cap, mask or any part of his uniform detached from its proper place on his person. The ball is in play;
(e) Two bases, if a fielder deliberately throws his glove at and touches a thrown ball. The ball is in play;