I would prefer to stay at home rather than going out.
This is what most English people would say and it sounds more natural.
Yes, you always say: would prefer to . . . . . . .
but: I prefer staying at home rather than going out.
A good book is: English Grammar in Use by Raymond Murphy (Intermediate) - Cambridge University Press - - - See Unit 57
- For Teachers