Groups with vanishing class size p