You lose both. You'll notice the biggest weight lost after fasting for a while as fat goes first, which weighs less than muscle, followed by muscle which ways alot more than fat but is alot better for you than fat.
Fat is evil, it doesn't like heat.
Go for a run, doing cardio to keep your heart moving and the fat will be gone and muscles intact.