Storing BM

I pumped yesterday (Sunday) in the morning but forgot to put it in a bag so I can freeze it. I have it sitting in the bottle still. Is it ok if I put it in a bag now and freeze it? It's been in the refrigerator since I finished pumping Sunday morning.