There is no best food or supplement to have before bed. Just hit your macros and you're set. Some will argue that you need casein protein, either in powder form or from dairy, but you do not need it. One will not lose muscle from not having a slow digesting protein before bed. As far as timing goes. Eat whenever you want. It will not affect your body composition. Some people sleep better on an empty stomach and eat 1-2 hours pre bed and some can sleep after eating. See what you respond better to.