Magic Guard is an ability introduced in generation 4.
10 Pokémon can have this ability, such as Clefairy, Clefable, Cleffa, Sigilyph and Solosis. For 3 of them it is the hidden ability, usually obtained from events, raids or breeding.
Official effect
Protects against damage not directly caused by a move.