Both types of protein, as well as how you time their consumption, can play a role in building muscle. Advantages Taking whey protein before bed allows your resting body to rapidly benefit from the amino acids it contains. Whey protein, because it comes from an animal, contains all the essential amino acids you need to include in your daily diet, especially when you are building muscle.