I prefer pork rather than beef - less common but grammatically correct. I prefer dancing to swimming. - usual day a day expression. I prefer dancing rather than swimming - less common but grammatically correct. I would prefer to stay home rather than go out tonight - "would prefer" MUST always be followed by the infinitive and not the "-ing" form. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.