Both are incorrect. As a rule "prefer" should be followed by "to" or "over". I prefer dogs to cats or I prefer dogs over cats