You have to steal the egg and raise it yourself. You cant knock one out and tame it.

More Magmasaur Taming & KO Tips