Magic Guard is an Ability that prevents damage from indirect sources, including:
- Weather (sandstorm, hail)
- Status effects (poison, burn, Curse, Leech Seed)
- Entry hazards (Stealth Rock, Spikes)
- Partially-trapping moves
- Recoil damage
- Life Orb
Only the damage from statuses is prevented by Magic Guard; the status itself can still be inflicted on the Pokémon. Other effects related to the above that do not cause damage are not prevented by Magic Guard, such as the trapping effect of partially-trapping moves, the increase in move power from Life Orb, or the Attack drop from the burn status.